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 */
ResetUnloggedRelations
void ResetUnloggedRelations(int op)
Definition:
reinit.c:47
parse_filename_for_nontemp_relation
bool parse_filename_for_nontemp_relation(const char *name, RelFileNumber *relnumber, ForkNumber *fork, unsigned *segno)
Definition:
reinit.c:380
relpath.h
RelFileNumber
Oid RelFileNumber
Definition:
relpath.h:25
ForkNumber
ForkNumber
Definition:
relpath.h:56
name
const char * name
Definition:
wait_event_funcs.c:28
src
include
storage
reinit.h
Generated on Tue Sep 17 2024 06:13:28 for PostgreSQL Source Code by
1.9.1