]> granicus.if.org Git - postgresql/commitdiff
Fix typo on comment
authorMagnus Hagander <magnus@hagander.net>
Mon, 18 Dec 2017 10:24:55 +0000 (11:24 +0100)
committerMagnus Hagander <magnus@hagander.net>
Mon, 18 Dec 2017 10:24:55 +0000 (11:24 +0100)
Author: David Rowley

src/backend/utils/adt/json.c

index baf1178995c9f212cf456acef08bab242b27725b..fcce26ed2edb5eb1d3b74704d205a19211080629 100644 (file)
@@ -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.
         */