Restore behavior for replication origin drop

Alvaro Herrera <alvherre@alvh.no-ip.org>

Commit: f15b76a9010dfd6052405d058bf8c0a488cec979
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2017-09-01T14:30:02Z
Releases: 10.0
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

Files

PathChange+/−
src/backend/replication/logical/origin.c modified +1 −1

Discussion