aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/jsonfuncs.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2013-08-09 07:59:53 -0400
committerPeter Eisentraut <peter_e@gmx.net>2013-08-09 07:59:53 -0400
commit595f52f8171e9805c5753510a180faeb68165055 (patch)
tree806115a6c153edb24342420fece16429c4d9daca /src/backend/utils/adt/jsonfuncs.c
parent92d003fcbfb73eebf0c1782dbd53c6e2f14d5cc4 (diff)
downloadpostgresql-595f52f8171e9805c5753510a180faeb68165055.tar.gz
postgresql-595f52f8171e9805c5753510a180faeb68165055.zip
Message punctuation and pluralization fixes
Diffstat (limited to 'src/backend/utils/adt/jsonfuncs.c')
-rw-r--r--src/backend/utils/adt/jsonfuncs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/utils/adt/jsonfuncs.c b/src/backend/utils/adt/jsonfuncs.c
index 2cbe83200f1..bcb9354364a 100644
--- a/src/backend/utils/adt/jsonfuncs.c
+++ b/src/backend/utils/adt/jsonfuncs.c
@@ -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;