Skip to content

Commit 32c6447

Browse files
committed
Correctly check for local node in create_subscription.
1 parent 0e4e7f2 commit 32c6447

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pglogical_functions.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ pglogical_create_subscription(PG_FUNCTION_ARGS)
261261
NameData slot_name;
262262

263263
/* Check that this is actually a node. */
264-
localnode = get_local_node(true);
264+
localnode = get_local_node(false);
265265

266266
/* Now, fetch info about remote node. */
267267
conn = pglogical_connect(provider_dsn, "create_subscription");

0 commit comments

Comments
 (0)