1 | /*------------------------------------------------------------------------- |
2 | * |
3 | * reinit.h |
4 | * Reinitialization of unlogged relations |
5 | * |
6 | * |
7 | * Portions Copyright (c) 1996-2019, 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 | int *oidchars, ForkNumber *fork); |
24 | |
25 | #define UNLOGGED_RELATION_CLEANUP 0x0001 |
26 | #define UNLOGGED_RELATION_INIT 0x0002 |
27 | |
28 | #endif /* REINIT_H */ |
29 | |