mirror of
https://github.com/postgres/postgres.git
synced 2025-04-24 10:47:04 +03:00
pg_dump: Add gettext plural support to error message
This commit is contained in:
parent
b258ceb3ad
commit
9922fc5f9f
@ -12325,7 +12325,9 @@ dumpTableSchema(Archive *fout, TableInfo *tbinfo)
|
|||||||
check_sql_result(res, g_conn, query->data, PGRES_TUPLES_OK);
|
check_sql_result(res, g_conn, query->data, PGRES_TUPLES_OK);
|
||||||
if (PQntuples(res) != 1)
|
if (PQntuples(res) != 1)
|
||||||
{
|
{
|
||||||
write_msg(NULL, "query returned %d foreign server entries for foreign table \"%s\"\n",
|
write_msg(NULL, ngettext("query returned %d foreign server entry for foreign table \"%s\"\n",
|
||||||
|
"query returned %d foreign server entries for foreign table \"%s\"\n",
|
||||||
|
PQntuples(res)),
|
||||||
PQntuples(res), tbinfo->dobj.name);
|
PQntuples(res), tbinfo->dobj.name);
|
||||||
exit_nicely();
|
exit_nicely();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user