postgres.git / summary / log / commit / refs
commit 7731c32087faf498db0562cc7e40d256ffc1750f
Author: Magnus Hagander <magnus@hagander.net>
Date: Mon Dec 18 10:24:55 2017 +0000
Fix typo on comment
Author: David Rowley
src/backend/utils/adt/json.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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.
*/
[parent: c6d21d56f1a9]