pgsql: Add ability to reserve WAL upon slot creation via replication pr

Поиск
Список
Период
Сортировка
От Andres Freund
Тема pgsql: Add ability to reserve WAL upon slot creation via replication pr
Дата
Msg-id E1ZYYBC-0005py-Nd@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: pgsql: Move DTK_ISODOW DTK_DOW and DTK_DOY to be type UNITS rather than
Следующее
От: Magnus Hagander
Дата:
Сообщение: pgsql: Support RADIUS passwords up to 128 characters