From: Teodor Sigaev <teodor@sigaev.ru>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Exclude unlogged tables from base backups
Date: Fri, 23 Mar 2018 16:14:24 +0000
Message-ID: <E1ezPKi-00081N-FP@gemulon.postgresql.org> (raw)
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
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 instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: teodor@sigaev.ru
Subject: Re: pgsql: Exclude unlogged tables from base backups
In-Reply-To: <E1ezPKi-00081N-FP@gemulon.postgresql.org>
References: <E1ezPKi-00081N-FP@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox