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

Commit79718c1

Browse files
committed
Fix variable initialization with ALTER SUBSCRIPTION DROP PUBLICATION
copy_data is not a supported option with this sub-command of ALTERSUBSCRIPTION, which would not make a variable related to it initializedafter parsing the option set in DefElems. A refresh could then refer toit.Author: Ranier VilelaReviewed-by: Peter SmithDiscussion:https://postgr.es/m/CAEudQAp5P8nr=ze2Gv=BMj=DJFZnrvendZCZcC-fos3QiDe2sg@mail.gmail.com
1 parent09a69f6 commit79718c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/commands/subscriptioncmds.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -949,7 +949,7 @@ AlterSubscription(AlterSubscriptionStmt *stmt, bool isTopLevel)
949949
caseALTER_SUBSCRIPTION_DROP_PUBLICATION:
950950
{
951951
boolisadd=stmt->kind==ALTER_SUBSCRIPTION_ADD_PUBLICATION;
952-
boolcopy_data;
952+
boolcopy_data= false;
953953
boolrefresh;
954954
List*publist;
955955

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp