summaryrefslogtreecommitdiff
path: root/src/backend/commands
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2022-09-16 16:37:53 +0200
committerPeter Eisentraut <peter@eisentraut.org>2022-09-16 16:39:26 +0200
commitb2451385cbb40f930838f6cd86c244912590a7d2 (patch)
tree2711a3691c7653d6afc520afe0598dc28f404da4 /src/backend/commands
parent32b507378fac179717f093c78a0e70371fbdf514 (diff)
Message wording improvements
Diffstat (limited to 'src/backend/commands')
-rw-r--r--src/backend/commands/subscriptioncmds.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/commands/subscriptioncmds.c b/src/backend/commands/subscriptioncmds.c
index 27cc5f0e65a..d042abe3414 100644
--- a/src/backend/commands/subscriptioncmds.c
+++ b/src/backend/commands/subscriptioncmds.c
@@ -437,7 +437,7 @@ get_publications_str(List *publications, StringInfo dest, bool quote_literal)
}
/*
- * Check the specified publication(s) is(are) present in the publisher.
+ * Check that the specified publications are present on the publisher.
*/
static void
check_publications(WalReceiverConn *wrconn, List *publications)
@@ -495,8 +495,8 @@ check_publications(WalReceiverConn *wrconn, List *publications)
get_publications_str(publicationsCopy, pubnames, false);
ereport(WARNING,
errcode(ERRCODE_UNDEFINED_OBJECT),
- errmsg_plural("publication %s does not exist in the publisher",
- "publications %s do not exist in the publisher",
+ errmsg_plural("publication %s does not exist on the publisher",
+ "publications %s do not exist on the publisher",
list_length(publicationsCopy),
pubnames->data));
}