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

Function OpenTransientFile

src/backend/storage/file/fd.c:2553–2557  ·  view source on GitHub ↗

* Open a file with OpenTransientFilePerm() and pass default file mode for * the fileMode parameter. */

Source from the content-addressed store, hash-verified

2551 * the fileMode parameter.
2552 */
2553int
2554OpenTransientFile(const char *fileName, int fileFlags)
2555{
2556 return OpenTransientFilePerm(fileName, fileFlags, pg_file_create_mode);
2557}
2558
2559/*
2560 * Like AllocateFile, but returns an unbuffered fd like open(2)

Callers 15

qtext_storeFunction · 0.85
qtext_load_fileFunction · 0.85
load_relmap_fileFunction · 0.85
write_relmap_fileFunction · 0.85
gfile_openFunction · 0.85
perform_base_backupFunction · 0.85
sendFileFunction · 0.85
SendTimeLineHistoryFunction · 0.85
SaveSlotToPathFunction · 0.85
RestoreSlotFromDiskFunction · 0.85
ApplyLogicalMappingFileFunction · 0.85

Calls 1

OpenTransientFilePermFunction · 0.85

Tested by

no test coverage detected