RefLib

Reference library for AI

Back

postgresql_16:7.1.2.3 Notes

PostgreSQL 16 > Reference > SQL Commands > ALTER AGGREGATE > Notes

The recommended syntax for referencing an ordered-set aggregate is to write ORDER BY between the direct and aggregated argument specifications, in the same style as in CREATE AGGREGATE (see postgresql_16:7.1.55). However, it will also work to omit ORDER BY and just run the direct and aggregated argument specifications into a single list. In this abbreviated form, if VARIADIC "any" was used in both the direct and aggregated argument lists, write VARIADIC "any" only once.

Back