PostgreSQL Source Code
git master
|
#include "common/relpath.h"
Go to the source code of this file.
Macros | |
#define | UNLOGGED_RELATION_CLEANUP 0x0001 |
#define | UNLOGGED_RELATION_INIT 0x0002 |
Functions | |
void | ResetUnloggedRelations (int op) |
bool | parse_filename_for_nontemp_relation (const char *name, RelFileNumber *relnumber, ForkNumber *fork, unsigned *segno) |
bool parse_filename_for_nontemp_relation | ( | const char * | name, |
RelFileNumber * | relnumber, | ||
ForkNumber * | fork, | ||
unsigned * | segno | ||
) |
Definition at line 380 of file reinit.c.
References forkname_chars(), InvalidForkNumber, InvalidRelFileNumber, MAIN_FORKNUM, name, and PG_UINT32_MAX.
Referenced by ResetUnloggedRelationsInDbspaceDir(), and sendDir().
void ResetUnloggedRelations | ( | int | op | ) |
Definition at line 47 of file reinit.c.
References AllocateDir(), ALLOCSET_DEFAULT_SIZES, AllocSetContextCreate, begin_startup_progress_phase(), CurrentMemoryContext, dirent::d_name, DEBUG1, elog, FreeDir(), MAXPGPATH, MemoryContextDelete(), MemoryContextSwitchTo(), PG_TBLSPC_DIR, ReadDir(), ResetUnloggedRelationsInTablespaceDir(), snprintf, TABLESPACE_VERSION_DIRECTORY, UNLOGGED_RELATION_CLEANUP, and UNLOGGED_RELATION_INIT.
Referenced by StartupXLOG().