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

Message punctuation and pluralization fixes

This commit is contained in:
Peter Eisentraut
2013-08-09 07:59:53 -04:00
parent 9d775d8894
commit 072457b360
6 changed files with 32 additions and 24 deletions

View File

@ -1239,7 +1239,7 @@ json_populate_record(PG_FUNCTION_ARGS)
if (!type_is_rowtype(argtype))
ereport(ERROR,
(errcode(ERRCODE_DATATYPE_MISMATCH),
errmsg("first argument must be a rowtype")));
errmsg("first argument of json_populate_record must be a row type")));
if (PG_ARGISNULL(0))
{
@ -1581,7 +1581,7 @@ json_populate_recordset(PG_FUNCTION_ARGS)
if (!type_is_rowtype(argtype))
ereport(ERROR,
(errcode(ERRCODE_DATATYPE_MISMATCH),
errmsg("first argument must be a rowtype")));
errmsg("first argument of json_populate_recordset must be a row type")));
rsi = (ReturnSetInfo *) fcinfo->resultinfo;