From 176cbc2a25a1c0db97ec8977545bb16fe3ea5809 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Fri, 24 Mar 2017 14:44:11 -0400 Subject: [PATCH] Check that published table exists on subscriber Author: Petr Jelinek --- src/backend/commands/subscriptioncmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/commands/subscriptioncmds.c b/src/backend/commands/subscriptioncmds.c index 0784ca7951..fbe47babd4 100644 --- a/src/backend/commands/subscriptioncmds.c +++ b/src/backend/commands/subscriptioncmds.c @@ -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); -- 2.40.0