Exclude unlogged tables from base backups
Teodor Sigaev <teodor@sigaev.ru>
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
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/protocol.sgml | modified | +6 −0 |
| src/backend/replication/basebackup.c | modified | +64 −0 |
| src/backend/storage/file/reinit.c | modified | +1 −3 |
| src/bin/pg_basebackup/t/010_pg_basebackup.pl | modified | +40 −2 |
| src/include/storage/reinit.h | modified | +2 −0 |
Documentation touched
Discussion
- PATCH: Exclude unlogged tables from base backups 39 messages · 2017-12-12 → 2018-03-26