pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Add a WAIT option to DROP_REPLICATION_SLOT
2+ messages / 1 participants
[nested] [flat]

* pgsql: Add a WAIT option to DROP_REPLICATION_SLOT
@ 2017-09-01 12:02  Alvaro Herrera <alvherre@alvh.no-ip.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Alvaro Herrera @ 2017-09-01 12:02 UTC (permalink / raw)
  To: pgsql-committers

Add a WAIT option to DROP_REPLICATION_SLOT

Commit 9915de6c1cb2 changed the default behavior of
DROP_REPLICATION_SLOT so that it would wait until any session holding
the slot active would release it, instead of raising an error.  But
users are already depending on the original behavior, so revert to it by
default and add a WAIT option to invoke the new behavior.

Per complaint from Simone Gotti, in
Discussion: https://postgr.es/m/CAEvsy6Wgdf90O6pUvg2wSVXL2omH5OPC-38OD4Zzgk-FXavj3Q@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/be7161566db247fd519e1a888ea8cd36b3c72088

Modified Files
--------------
doc/src/sgml/logicaldecoding.sgml       |  2 +-
doc/src/sgml/protocol.sgml              | 17 ++++++++++++++---
src/backend/commands/subscriptioncmds.c |  2 +-
src/backend/replication/repl_gram.y     | 10 ++++++++++
src/backend/replication/repl_scanner.l  |  1 +
src/backend/replication/slotfuncs.c     |  2 +-
src/backend/replication/walsender.c     |  2 +-
src/include/nodes/replnodes.h           |  1 +
8 files changed, 30 insertions(+), 7 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Add a WAIT option to DROP_REPLICATION_SLOT
@ 2017-09-01 12:02  Alvaro Herrera <alvherre@alvh.no-ip.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Alvaro Herrera @ 2017-09-01 12:02 UTC (permalink / raw)
  To: pgsql-committers

Add a WAIT option to DROP_REPLICATION_SLOT

Commit 9915de6c1cb2 changed the default behavior of
DROP_REPLICATION_SLOT so that it would wait until any session holding
the slot active would release it, instead of raising an error.  But
users are already depending on the original behavior, so revert to it by
default and add a WAIT option to invoke the new behavior.

Per complaint from Simone Gotti, in
Discussion: https://postgr.es/m/CAEvsy6Wgdf90O6pUvg2wSVXL2omH5OPC-38OD4Zzgk-FXavj3Q@mail.gmail.com

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/8ba6d50f923bfc1d7cc91f5ff11e199f18d7fd80

Modified Files
--------------
doc/src/sgml/logicaldecoding.sgml       |  2 +-
doc/src/sgml/protocol.sgml              | 17 ++++++++++++++---
src/backend/commands/subscriptioncmds.c |  2 +-
src/backend/replication/repl_gram.y     | 10 ++++++++++
src/backend/replication/repl_scanner.l  |  1 +
src/backend/replication/slotfuncs.c     |  2 +-
src/backend/replication/walsender.c     |  2 +-
src/include/nodes/replnodes.h           |  1 +
8 files changed, 30 insertions(+), 7 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2017-09-01 12:02 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2017-09-01 12:02 pgsql: Add a WAIT option to DROP_REPLICATION_SLOT Alvaro Herrera <alvherre@alvh.no-ip.org>
2017-09-01 12:02 pgsql: Add a WAIT option to DROP_REPLICATION_SLOT Alvaro Herrera <alvherre@alvh.no-ip.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox