pgsql: Add option to include WAL in base backup

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add option to include WAL in base backup
Date: 2011-01-30 20:43:30
Message-ID: E1Pje7O-0007Cn-6J@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add option to include WAL in base backup

When included, this makes the base backup a complete working
"clone" of the initial database, ready to have a postmaster
started against it without the need to set up any log archiving
or similar.

Magnus Hagander, reviewed by Fujii Masao and Heikki Linnakangas

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=507069de6dbe18c2163f27fbc780673eef8c5622

Modified Files
--------------
doc/src/sgml/protocol.sgml | 19 ++++-
doc/src/sgml/ref/pg_basebackup.sgml | 32 +++++++-
src/backend/replication/basebackup.c | 149 +++++++++++++++++++++++++-------
src/backend/replication/repl_gram.y | 10 ++-
src/backend/replication/repl_scanner.l | 1 +
src/backend/replication/walsender.c | 8 ++-
src/bin/pg_basebackup/pg_basebackup.c | 21 ++++-
src/include/replication/walsender.h | 1 +
8 files changed, 197 insertions(+), 44 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2011-01-30 22:08:12 Re: autogenerating error code lists (was Re: [COMMITTERS] pgsql: Add foreign data wrapper error code values for SQL/MED.)
Previous Message Peter Eisentraut 2011-01-29 18:34:01 Re: Re: [COMMITTERS] pgsql: Get rid of the global variable holding the error state