提交 9922fc5f 编写于 作者: P Peter Eisentraut

pg_dump: Add gettext plural support to error message

上级 b258ceb3
......@@ -12325,7 +12325,9 @@ dumpTableSchema(Archive *fout, TableInfo *tbinfo)
check_sql_result(res, g_conn, query->data, PGRES_TUPLES_OK);
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);
exit_nicely();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册