Name
DROP AGGREGATE
-- remove a user-defined aggregate function
Description
DROP AGGREGATE will remove all references to an existing
aggregate definition. To execute this command the current
user must be the owner of the aggregate.
Usage
To remove the myavg aggregate for type
int4:
DROP AGGREGATE myavg(int4);
Compatibility
SQL92
There is no DROP AGGREGATE statement
in SQL92; the statement is a
PostgreSQL
language extension.