Check that published table exists on subscriber
Author: Petr Jelinek <pjmodos@pjmodos.net>
This commit is contained in:
parent
61c2e1a95f
commit
176cbc2a25
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user