mirror of
https://github.com/postgres/postgres.git
synced 2025-11-22 12:22:45 +03:00
Initial pgindent run for v12.
This is still using the 2.0 version of pg_bsd_indent. I thought it would be good to commit this separately, so as to document the differences between 2.0 and 2.1 behavior. Discussion: https://postgr.es/m/16296.1558103386@sss.pgh.pa.us
This commit is contained in:
@@ -612,7 +612,7 @@ AggregateCreate(const char *aggName,
|
||||
|
||||
myself = ProcedureCreate(aggName,
|
||||
aggNamespace,
|
||||
replace, /* maybe replacement */
|
||||
replace, /* maybe replacement */
|
||||
false, /* doesn't return a set */
|
||||
finaltype, /* returnType */
|
||||
GetUserId(), /* proowner */
|
||||
@@ -693,10 +693,9 @@ AggregateCreate(const char *aggName,
|
||||
|
||||
/*
|
||||
* If we're replacing an existing entry, we need to validate that
|
||||
* we're not changing anything that would break callers.
|
||||
* Specifically we must not change aggkind or aggnumdirectargs,
|
||||
* which affect how an aggregate call is treated in parse
|
||||
* analysis.
|
||||
* we're not changing anything that would break callers. Specifically
|
||||
* we must not change aggkind or aggnumdirectargs, which affect how an
|
||||
* aggregate call is treated in parse analysis.
|
||||
*/
|
||||
if (aggKind != oldagg->aggkind)
|
||||
ereport(ERROR,
|
||||
|
||||
Reference in New Issue
Block a user