]> 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)
commita6979c3a68e2caa6696021f7a15278a99e7409a1
tree95b2d4e9828ad40022ac85e78f8a6c8d8601cf93
parent4f27c674fd9fb5ba1f2952e2db53886bb5954e8b
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