git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: abe85ef) | patch
Add a WAIT option to DROP_REPLICATION_SLOT
Fri, 1 Sep 2017 11:44:14 +0000 (13:44 +0200)
Fri, 1 Sep 2017 11:44:14 +0000 (13:44 +0200)
commit be7161566db247fd519e1a888ea8cd36b3c72088
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
doc/src/sgml/logicaldecoding.sgml diff | blob | blame | history
doc/src/sgml/protocol.sgml diff | blob | blame | history
src/backend/commands/subscriptioncmds.c diff | blob | blame | history
src/backend/replication/repl_gram.y diff | blob | blame | history
src/backend/replication/repl_scanner.l diff | blob | blame | history
src/backend/replication/slotfuncs.c diff | blob | blame | history
src/backend/replication/walsender.c diff | blob | blame | history
src/include/nodes/replnodes.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /