PostgreSQL Source Code  git master
reinit.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------------------
2  *
3  * reinit.h
4  * Reinitialization of unlogged relations
5  *
6  *
7  * Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
8  * Portions Copyright (c) 1994, Regents of the University of California
9  *
10  * src/include/storage/reinit.h
11  *
12  *-------------------------------------------------------------------------
13  */
14 
15 #ifndef REINIT_H
16 #define REINIT_H
17 
18 #include "common/relpath.h"
19 
20 
21 extern void ResetUnloggedRelations(int op);
22 extern bool parse_filename_for_nontemp_relation(const char *name,
23  RelFileNumber *relnumber,
24  ForkNumber *fork,
25  unsigned *segno);
26 
27 #define UNLOGGED_RELATION_CLEANUP 0x0001
28 #define UNLOGGED_RELATION_INIT 0x0002
29 
30 #endif /* REINIT_H */
void ResetUnloggedRelations(int op)
Definition: reinit.c:47
bool parse_filename_for_nontemp_relation(const char *name, RelFileNumber *relnumber, ForkNumber *fork, unsigned *segno)
Definition: reinit.c:380
Oid RelFileNumber
Definition: relpath.h:25
ForkNumber
Definition: relpath.h:48
const char * name