diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2013-08-09 07:59:53 -0400 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2013-08-09 08:02:44 -0400 |
commit | 072457b360ad550236d99a6ab1264e447248aba9 (patch) | |
tree | 2c5559148cb5360e4de686ea713fb291ecdc2493 /src/backend/utils/adt/jsonfuncs.c | |
parent | 9d775d8894665ef0bb254a85005f9351545fac13 (diff) | |
download | postgresql-072457b360ad550236d99a6ab1264e447248aba9.tar.gz postgresql-072457b360ad550236d99a6ab1264e447248aba9.zip |
Message punctuation and pluralization fixes
Diffstat (limited to 'src/backend/utils/adt/jsonfuncs.c')
-rw-r--r-- | src/backend/utils/adt/jsonfuncs.c | 4 |
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; |