git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bb874e3)
Fix error message for logical replication targets
2019年1月13日 13:36:23 +0000 (22:36 +0900)
2019年1月13日 13:36:23 +0000 (22:36 +0900)
This fixes an oversight from 373bda6.

Noted by Erik Rijkers.


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)));
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /