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-664a4c1ff...@pgmasters.net

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8694cc96b52a967a49725f32be7aa77fd3b6ac25

Modified Files
--------------
doc/src/sgml/protocol.sgml                   |  6 +++
src/backend/replication/basebackup.c         | 64 ++++++++++++++++++++++++++++
src/backend/storage/file/reinit.c            |  4 +-
src/bin/pg_basebackup/t/010_pg_basebackup.pl | 42 +++++++++++++++++-
src/include/storage/reinit.h                 |  2 +
5 files changed, 113 insertions(+), 5 deletions(-)

Reply via email to