pgsql: Exclude unlogged tables from base backups

From: Teodor Sigaev <teodor(at)sigaev(dot)ru>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Exclude unlogged tables from base backups
Date: 2018-03-23 16:14:24
Message-ID: E1ezPKi-00081N-FP@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)pgmasters(dot)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(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message David Steele 2018-03-23 16:19:57 Re: pgsql: Fix interaction of Perl and stdbool.h
Previous Message Tom Lane 2018-03-23 15:49:10 Re: pgsql: Fix interaction of Perl and stdbool.h