Commit b1ff33fd authored by Peter Eisentraut's avatar Peter Eisentraut

Add assertion to quiet Coverity

parent 82d24bab
......@@ -69,6 +69,9 @@ parse_subscription_options(List *options, bool *connect, bool *enabled_given,
bool create_slot_given = false;
bool copy_data_given = false;
/* If connect is specified, the others also need to be. */
Assert(!connect || (enabled && create_slot && copy_data));
if (connect)
*connect = true;
if (enabled)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment