mirror of
https://github.com/postgres/postgres.git
synced 2025-10-27 00:12:01 +03:00
Exclude unlogged tables from base backups
Exclude unlogged tables from base backup entirely except init fork which marks created unlogged table. The next question is do not backup temp table but it's a story for separate patch. Author: David Steele Review by: Adam Brightwell, Masahiko Sawada Discussion: https://www.postgresql.org/message-id/flat/04791bab-cb04-ba43-e9c0-664a4c1ffb2c@pgmasters.net
This commit is contained in:
@@ -16,6 +16,8 @@
|
||||
#define REINIT_H
|
||||
|
||||
extern void ResetUnloggedRelations(int op);
|
||||
extern bool parse_filename_for_nontemp_relation(
|
||||
const char *name, int *oidchars, ForkNumber *fork);
|
||||
|
||||
#define UNLOGGED_RELATION_CLEANUP 0x0001
|
||||
#define UNLOGGED_RELATION_INIT 0x0002
|
||||
|
||||
Reference in New Issue
Block a user