]> granicus.if.org Git - postgresql/commit
Restore behavior for replication origin drop
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 1 Sep 2017 14:30:02 +0000 (16:30 +0200)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 1 Sep 2017 14:30:02 +0000 (16:30 +0200)
commitf15b76a9010dfd6052405d058bf8c0a488cec979
tree23b8cce364294d2f13416dc62e0d4858cd0ef3c4
parent3950e07eb46ebe99331ca82d659269056470f596
Restore behavior for replication origin drop

Do for replication origins what the previous commit did for replication
slots: restore the original behavior of replication origin drop to raise
an error rather than blocking, because users might be depending on the
original behavior.  Maintain the blocking behavior when invoked
internally from logical replication subscription handling.

Discussion: https://postgr.es/m/20170830133922.tlpo3lgfejm4n2cs@alvherre.pgsql
src/backend/replication/logical/origin.c