1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-16 06:01:02 +03:00

Message wording improvements

This commit is contained in:
Peter Eisentraut
2022-09-16 16:37:53 +02:00
parent 32b507378f
commit b2451385cb
6 changed files with 10 additions and 10 deletions

View File

@ -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));
}