mirror of
https://github.com/postgres/postgres.git
synced 2026-03-29 05:43:27 -04:00
Commit b0a55e4329 missed a few places
where we are referring to the number used as a part of the relation
filename as an "OID". We now want to call that a "RelFileNumber".
Some of these places actually made it sound like the OID in question
is pg_class.oid rather than pg_class.relfilenode, which is especially
good to clean up.
Dilip Kumar with some editing by me.
29 lines
753 B
C
29 lines
753 B
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* reinit.h
|
|
* Reinitialization of unlogged relations
|
|
*
|
|
*
|
|
* Portions Copyright (c) 1996-2022, PostgreSQL Global Development Group
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
*
|
|
* src/include/storage/reinit.h
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
|
|
#ifndef REINIT_H
|
|
#define REINIT_H
|
|
|
|
#include "common/relpath.h"
|
|
|
|
|
|
extern void ResetUnloggedRelations(int op);
|
|
extern bool parse_filename_for_nontemp_relation(const char *name,
|
|
int *relnumchars,
|
|
ForkNumber *fork);
|
|
|
|
#define UNLOGGED_RELATION_CLEANUP 0x0001
|
|
#define UNLOGGED_RELATION_INIT 0x0002
|
|
|
|
#endif /* REINIT_H */
|