mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	Fix typo in comment of transformJsonAggConstructor()
An oversight of 3a8a1f3254.
Reported-by: Tender Wang <tndrwang@gmail.com>
Author: Tender Wang <tndrwang@gmail.com>
Backpatch-through: 16
			
			
This commit is contained in:
		@@ -3751,7 +3751,7 @@ transformJsonAggConstructor(ParseState *pstate, JsonAggConstructor *agg_ctor,
 | 
				
			|||||||
/*
 | 
					/*
 | 
				
			||||||
 * Transform JSON_OBJECTAGG() aggregate function.
 | 
					 * Transform JSON_OBJECTAGG() aggregate function.
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * JSON_OBJECT() is transformed into a JsonConstructorExpr node of type
 | 
					 * JSON_OBJECTAGG() is transformed into a JsonConstructorExpr node of type
 | 
				
			||||||
 * JSCTOR_JSON_OBJECTAGG, which at runtime becomes a
 | 
					 * JSCTOR_JSON_OBJECTAGG, which at runtime becomes a
 | 
				
			||||||
 * json[b]_object_agg[_unique][_strict](agg->arg->key, agg->arg->value) call
 | 
					 * json[b]_object_agg[_unique][_strict](agg->arg->key, agg->arg->value) call
 | 
				
			||||||
 * depending on the output JSON format.  The result is coerced to the target
 | 
					 * depending on the output JSON format.  The result is coerced to the target
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user