Small typo in comment in json_agg_transfn
Started by David Rowleyabout 8 years ago2 messages
The attached fixed a small typo in json_agg_transfn.
--
David Rowley http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
Attachments:
json_agg_transfn_comment_fix.patchapplication/octet-stream; name=json_agg_transfn_comment_fix.patchDownload
diff --git a/src/backend/utils/adt/json.c b/src/backend/utils/adt/json.c
index baf1178..fcce26e 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.
*/
Re: Small typo in comment in json_agg_transfn
On Sun, Dec 17, 2017 at 2:43 PM, David Rowley <david.rowley@2ndquadrant.com>
wrote:
The attached fixed a small typo in json_agg_transfn.
Applied, thanks.
--
Magnus Hagander
Me: https://www.hagander.net/ <http://www.hagander.net/>
Work: https://www.redpill-linpro.com/ <http://www.redpill-linpro.com/>