Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita6979c3

Browse files
committed
Restore behavior for replication origin drop
Do for replication origins what the previous commit did for replicationslots: restore the original behavior of replication origin drop to raisean error rather than blocking, because users might be depending on theoriginal behavior. Maintain the blocking behavior when invokedinternally from logical replication subscription handling.Discussion:https://postgr.es/m/20170830133922.tlpo3lgfejm4n2cs@alvherre.pgsql
1 parent4f27c67 commita6979c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/replication/logical/origin.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1205,7 +1205,7 @@ pg_replication_origin_drop(PG_FUNCTION_ARGS)
12051205
roident=replorigin_by_name(name, false);
12061206
Assert(OidIsValid(roident));
12071207

1208-
replorigin_drop(roident,false);
1208+
replorigin_drop(roident,true);
12091209

12101210
pfree(name);
12111211

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp