mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-11-27 07:21:09 +08:00
Fix error message for logical replication targets
This fixes an oversight from 373bda6
.
Noted by Erik Rijkers.
This commit is contained in:
parent
bb874e30fb
commit
9f527a6e9a
@ -622,7 +622,7 @@ CheckSubscriptionRelkind(char relkind, const char *nspname,
|
||||
else if (relkind == RELKIND_FOREIGN_TABLE)
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_WRONG_OBJECT_TYPE),
|
||||
errmsg("cannot use relation \"%s.%s\" as logical replication",
|
||||
errmsg("cannot use relation \"%s.%s\" as logical replication target",
|
||||
nspname, relname),
|
||||
errdetail("\"%s.%s\" is a foreign table.",
|
||||
nspname, relname)));
|
||||
|
Loading…
Reference in New Issue
Block a user