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

Function BasicOpenFile

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

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

Source from the content-addressed store, hash-verified

1064 * fileMode parameter.
1065 */
1066int
1067BasicOpenFile(const char *fileName, int fileFlags)
1068{
1069 return BasicOpenFilePerm(fileName, fileFlags, pg_file_create_mode);
1070}
1071
1072/*
1073 * BasicOpenFilePerm --- same as open(2) except can free other FDs if needed

Callers 11

KmgrWriteCryptoKeysFunction · 0.85
AlterSystemSetConfigFileFunction · 0.85
checkIODataDirectoryFunction · 0.85
WalSndSegmentOpenFunction · 0.85
XLogFileInitFunction · 0.85
XLogFileOpenFunction · 0.85
XLogFileReadFunction · 0.85
WriteControlFileFunction · 0.85
ReadControlFileFunction · 0.85
wal_segment_openFunction · 0.85
update_controlfileFunction · 0.85

Calls 1

BasicOpenFilePermFunction · 0.85

Tested by

no test coverage detected