Content-Length: 257030 | pFad | http://github.com/postgrespro/postgres/commit/176cbc2a25a1c0db97ec8977545bb16fe3ea5809

23 Check that published table exists on subscriber · postgrespro/postgres@176cbc2 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/176cbc2a25a1c0db97ec8977545bb16fe3ea5809

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy