mirror of
https://github.com/postgres/postgres.git
synced 2026-04-15 22:10:45 -04:00
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
This commit is contained in:
parent
3950e07eb4
commit
f15b76a901
1 changed files with 1 additions and 1 deletions
|
|
@ -1205,7 +1205,7 @@ pg_replication_origin_drop(PG_FUNCTION_ARGS)
|
|||
roident = replorigin_by_name(name, false);
|
||||
Assert(OidIsValid(roident));
|
||||
|
||||
replorigin_drop(roident, false);
|
||||
replorigin_drop(roident, true);
|
||||
|
||||
pfree(name);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue