]> granicus.if.org Git - postgresql/commitdiff
Fix error message for logical replication targets
authorMichael Paquier <michael@paquier.xyz>
Sun, 13 Jan 2019 13:36:23 +0000 (22:36 +0900)
committerMichael Paquier <michael@paquier.xyz>
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

index bb1ab575952bfa8dcccd882fca77375a6c63bc34..a7eebc45e36a04dde46d12a14aab08ba1af7959a 100644 (file)
@@ -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)));