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

Commitb1ff33f

Browse files
committed
Add assertion to quiet Coverity
1 parent82d24ba commitb1ff33f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎src/backend/commands/subscriptioncmds.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ parse_subscription_options(List *options, bool *connect, bool *enabled_given,
6969
boolcreate_slot_given= false;
7070
boolcopy_data_given= false;
7171

72+
/* If connect is specified, the others also need to be. */
73+
Assert(!connect|| (enabled&&create_slot&&copy_data));
74+
7275
if (connect)
7376
*connect= true;
7477
if (enabled)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp