aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/json.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2014-07-15 08:25:27 -0400
committerPeter Eisentraut <peter_e@gmx.net>2014-07-15 08:31:50 -0400
commitd38228fe4029cce3af396bf5b1728d8000ab32c8 (patch)
tree92124e3c246ba17e838ba43179945cbcf0aac5ec /src/backend/utils/adt/json.c
parenta16bac36eca8158cbf78987e95376f610095f792 (diff)
downloadpostgresql-d38228fe4029cce3af396bf5b1728d8000ab32c8.tar.gz
postgresql-d38228fe4029cce3af396bf5b1728d8000ab32c8.zip
Add missing serial commas
Also update one place where the wal_level "logical" was not added to an error message.
Diffstat (limited to 'src/backend/utils/adt/json.c')
-rw-r--r--src/backend/utils/adt/json.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/utils/adt/json.c b/src/backend/utils/adt/json.c
index bc0c602fa3e..299b2a25ddb 100644
--- a/src/backend/utils/adt/json.c
+++ b/src/backend/utils/adt/json.c
@@ -1347,7 +1347,7 @@ datum_to_json(Datum val, bool is_null, StringInfo result,
tcategory == JSONTYPE_CAST))
ereport(ERROR,
(errcode(ERRCODE_INVALID_PARAMETER_VALUE),
- errmsg("key value must be scalar, not array, composite or json")));
+ errmsg("key value must be scalar, not array, composite, or json")));
switch (tcategory)
{