diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2022-09-16 16:37:53 +0200 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2022-09-16 16:37:53 +0200 |
commit | c946425176f39e4656718a684a53e8dde5cc641a (patch) | |
tree | db522e1375506f4310ec05aa4c6e30e3b4ccf38b /src/backend/commands/subscriptioncmds.c | |
parent | 8135d0bd455217bd345090bae085b2bbcf62bdb0 (diff) |
Message wording improvements
Diffstat (limited to 'src/backend/commands/subscriptioncmds.c')
-rw-r--r-- | src/backend/commands/subscriptioncmds.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/commands/subscriptioncmds.c b/src/backend/commands/subscriptioncmds.c index 3842a4fd445..ea42491ad99 100644 --- a/src/backend/commands/subscriptioncmds.c +++ b/src/backend/commands/subscriptioncmds.c @@ -406,7 +406,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) @@ -464,8 +464,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)); } |