diff options
author | Michael Paquier <michael@paquier.xyz> | 2019-01-13 22:36:23 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2019-01-13 22:36:23 +0900 |
commit | 9f527a6e9a70ea668616e20d05c31d7a086669a4 (patch) | |
tree | 20b1d7d186ccf248af9ceaf02c8483e3379f4b56 /src/backend/executor | |
parent | bb874e30fbf9e85bdb117bad34865a5fae29dbf6 (diff) | |
download | postgresql-9f527a6e9a70ea668616e20d05c31d7a086669a4.tar.gz postgresql-9f527a6e9a70ea668616e20d05c31d7a086669a4.zip |
Fix error message for logical replication targets
This fixes an oversight from 373bda6.
Noted by Erik Rijkers.
Diffstat (limited to 'src/backend/executor')
-rw-r--r-- | src/backend/executor/execReplication.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/executor/execReplication.c b/src/backend/executor/execReplication.c index bb1ab575952..a7eebc45e36 100644 --- a/src/backend/executor/execReplication.c +++ b/src/backend/executor/execReplication.c @@ -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))); |