aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2017-09-01 13:44:14 +0200
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2017-09-01 13:44:14 +0200
commitbe7161566db247fd519e1a888ea8cd36b3c72088 (patch)
treead6a89bb45cc2574857e538f5683c2f683825c5d /src/backend/tcop/postgres.c
parentabe85ef1d00187a42e7a757ea0413bc4965a4525 (diff)
downloadpostgresql-be7161566db247fd519e1a888ea8cd36b3c72088.tar.gz
postgresql-be7161566db247fd519e1a888ea8cd36b3c72088.zip
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
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions