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:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user