Thread: pgsql: Implement NOWAIT option for BASE_BACKUP command

pgsql: Implement NOWAIT option for BASE_BACKUP command

From
Magnus Hagander
Date:
Implement NOWAIT option for BASE_BACKUP command

Specifying this option makes the server not wait for the
xlog to be archived, or emit a warning that it can't,
instead leaving the responsibility with the client.

This is useful when the log is being streamed using
the streaming protocol in parallel with the backup,
without having log archiving enabled.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/3144c33a2f764610d7ad56f1b82e9716d0d65447

Modified Files
--------------
doc/src/sgml/protocol.sgml             |   15 ++++++++++++++-
src/backend/access/transam/xlog.c      |    8 ++++----
src/backend/replication/basebackup.c   |   13 ++++++++++++-
src/backend/replication/repl_gram.y    |    8 +++++++-
src/backend/replication/repl_scanner.l |    1 +
src/include/access/xlog.h              |    2 +-
6 files changed, 39 insertions(+), 8 deletions(-)