MCPcopy Create free account
hub / github.com/apache/cloudberry / BufFileCreateTemp

Function BufFileCreateTemp

src/backend/storage/file/buffile.c:302–310  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

300}
301
302BufFile *
303BufFileCreateTemp(char *operation_name, bool interXact)
304{
305 workfile_set *work_set;
306
307 work_set = workfile_mgr_create_set(operation_name, NULL, false /* hold pin */);
308
309 return BufFileCreateTempInSet(operation_name, interXact, work_set);
310}
311
312/*
313 * Build the name for a given segment of a given BufFile.

Callers 9

LogicalTapeSetCreateFunction · 0.85
InitializeBackupManifestFunction · 0.85
gistInitBuildBuffersFunction · 0.85
buffile_size_testFunction · 0.85
buffile_large_file_testFunction · 0.85

Calls 2

workfile_mgr_create_setFunction · 0.85
BufFileCreateTempInSetFunction · 0.85

Tested by 4

buffile_size_testFunction · 0.68
buffile_large_file_testFunction · 0.68