Skip to content

Commit 176cbc2

Browse files
committed
Check that published table exists on subscriber
Author: Petr Jelinek <pjmodos@pjmodos.net>
1 parent 61c2e1a commit 176cbc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/commands/subscriptioncmds.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ CreateSubscription(CreateSubscriptionStmt *stmt, bool isTopLevel)
399399
RangeVar *rv = (RangeVar *) lfirst(lc);
400400
Oid relid;
401401

402-
relid = RangeVarGetRelid(rv, AccessShareLock, true);
402+
relid = RangeVarGetRelid(rv, AccessShareLock, false);
403403

404404
SetSubscriptionRelState(subid, relid, table_state,
405405
InvalidXLogRecPtr);

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