1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-03 20:02:46 +03:00

Message wording improvements

This commit is contained in:
Peter Eisentraut
2022-09-16 16:37:53 +02:00
parent 8135d0bd45
commit c946425176
5 changed files with 9 additions and 9 deletions

View File

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