pgsql: Add ability to reserve WAL upon slot creation via replication pr - Mailing list pgsql-committers

From Andres Freund
Subject pgsql: Add ability to reserve WAL upon slot creation via replication pr
Date
Msg-id E1ZYYBC-0005py-Nd@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Add ability to reserve WAL upon slot creation via replication protocol.

Since 6fcd885 it is possible to immediately reserve WAL when creating a
slot via pg_create_physical_replication_slot(). Extend the replication
protocol to allow that as well.

Although, in contrast to the SQL interface, it is possible to update the
reserved location via the replication interface, it is still useful
being able to reserve upon creation there. Otherwise the logic in
ReplicationSlotReserveWal() has to be repeated in slot employing
clients.

Author: Michael Paquier
Discussion: CAB7nPqT0Wc1W5mdYGeJ_wbutbwNN+3qgrFR64avXaQCiJMGaYA@mail.gmail.com

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/c314ead5be0c627a6f654a74f18099466c566c47

Modified Files
--------------
doc/src/sgml/protocol.sgml             |   13 ++++++++++++-
src/backend/replication/repl_gram.y    |   12 ++++++++++--
src/backend/replication/repl_scanner.l |    1 +
src/backend/replication/walsender.c    |    8 ++++++++
src/include/nodes/replnodes.h          |    1 +
5 files changed, 32 insertions(+), 3 deletions(-)


pgsql-committers by date:

Previous
From: Greg Stark
Date:
Subject: Re: pgsql: Move DTK_ISODOW DTK_DOW and DTK_DOY to be type UNITS rather than
Next
From: Magnus Hagander
Date:
Subject: pgsql: Support RADIUS passwords up to 128 characters