Skip to content

Commit b1ff33f

Browse files
committed
Add assertion to quiet Coverity
1 parent 82d24ba commit b1ff33f

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
bool create_slot_given = false;
7070
bool copy_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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy