From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: pg_receivewal: Add --endpos option |
Date: | 2017-09-11 20:51:26 |
Message-ID: | E1drVfy-0001HH-8T@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
pg_receivewal: Add --endpos option
This is primarily useful for making tests of this utility more
deterministic, to avoid the complexity of starting pg_receivewal as a
deamon in TAP tests.
While this is less useful than the equivalent pg_recvlogical option,
users can as well use it for example to enforce WAL streaming up to a
end-of-backup position, to save only a minimal amount of WAL.
Use this new option to stream WAL data in a deterministic way within a
new set of TAP tests.
Author: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/6d9fa52645e71711410a66b5349df3be0dd49608
Modified Files
--------------
doc/src/sgml/ref/pg_receivewal.sgml | 16 ++++++++++
src/bin/pg_basebackup/pg_receivewal.c | 38 ++++++++++++++++++-----
src/bin/pg_basebackup/t/020_pg_receivewal.pl | 45 +++++++++++++++++++++++++++-
3 files changed, 91 insertions(+), 8 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2017-09-11 23:44:00 | pgsql: PG 10 release notes: update PL/Tcl functions item |
Previous Message | Andres Freund | 2017-09-11 20:45:03 | pgsql: Constify numeric.c. |