Skip to content

Commit 9f527a6

Browse files
committed
Fix error message for logical replication targets
This fixes an oversight from 373bda6. Noted by Erik Rijkers.
1 parent bb874e3 commit 9f527a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/executor/execReplication.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ CheckSubscriptionRelkind(char relkind, const char *nspname,
622622
else if (relkind == RELKIND_FOREIGN_TABLE)
623623
ereport(ERROR,
624624
(errcode(ERRCODE_WRONG_OBJECT_TYPE),
625-
errmsg("cannot use relation \"%s.%s\" as logical replication",
625+
errmsg("cannot use relation \"%s.%s\" as logical replication target",
626626
nspname, relname),
627627
errdetail("\"%s.%s\" is a foreign table.",
628628
nspname, relname)));

0 commit comments

Comments
 (0)