projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb874e3
)
Fix error message for logical replication targets
author
Michael Paquier
Sun, 13 Jan 2019 13:36:23 +0000
(22:36 +0900)
committer
Michael Paquier
Sun, 13 Jan 2019 13:36:23 +0000
(22:36 +0900)
This fixes an oversight from
373bda6
.
Noted by Erik Rijkers.
src/backend/executor/execReplication.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/executor/execReplication.c
b/src/backend/executor/execReplication.c
index bb1ab575952bfa8dcccd882fca77375a6c63bc34..a7eebc45e36a04dde46d12a14aab08ba1af7959a 100644
(file)
--- 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)));