aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2017-12-18 11:24:55 +0100
committerMagnus Hagander <magnus@hagander.net>2017-12-18 11:24:55 +0100
commit7731c32087faf498db0562cc7e40d256ffc1750f (patch)
tree5a1abb93d672554ecadcf8c0708b83f5ac046d99
parentc6d21d56f1a92b4762a22cbbb694b1e853165e70 (diff)
downloadpostgresql-7731c32087faf498db0562cc7e40d256ffc1750f.tar.gz
postgresql-7731c32087faf498db0562cc7e40d256ffc1750f.zip
Fix typo on comment
Author: David Rowley
-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 baf1178995c..fcce26ed2ed 100644
--- a/src/backend/utils/adt/json.c
+++ b/src/backend/utils/adt/json.c
@@ -1940,7 +1940,7 @@ json_agg_transfn(PG_FUNCTION_ARGS)
state->val_output_func, false);
/*
- * The transition type for array_agg() is declared to be "internal", which
+ * The transition type for json_agg() is declared to be "internal", which
* is a pass-by-value type the same size as a pointer. So we can safely
* pass the JsonAggState pointer through nodeAgg.c's machinations.
*/