Commit 176cbc2a authored by Peter Eisentraut's avatar Peter Eisentraut

Check that published table exists on subscriber

Author: Petr Jelinek <pjmodos@pjmodos.net>
parent 61c2e1a9
......@@ -399,7 +399,7 @@ CreateSubscription(CreateSubscriptionStmt *stmt, bool isTopLevel)
RangeVar *rv = (RangeVar *) lfirst(lc);
Oid relid;
relid = RangeVarGetRelid(rv, AccessShareLock, true);
relid = RangeVarGetRelid(rv, AccessShareLock, false);
SetSubscriptionRelState(subid, relid, table_state,
InvalidXLogRecPtr);
......
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