From: Darren King <aixssd!darrenk@abs.net>
Marc G. Fournier <scrappy@hub.org>
From: Darren King <aixssd!darrenk@abs.net> Subject: [PATCHES] DROP AGGREGATE patch/fix. Here's a patch that fixes the DROP AGGREGATE command to delete the desired aggregate for a specific type.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/remove.c | modified | +67 −16 |
| src/backend/parser/catalog_utils.c | modified | +17 −1 |
| src/backend/parser/gram.y | modified | +25 −10 |
| src/backend/tcop/aclchk.c | modified | +42 −1 |
| src/backend/tcop/utility.c | modified | +11 −4 |
| src/include/commands/defrem.h | modified | +2 −2 |
| src/include/nodes/nodes.h | modified | +2 −1 |
| src/include/nodes/parsenodes.h | modified | +13 −3 |
| src/include/parser/catalog_utils.h | modified | +2 −1 |
| src/include/utils/acl.h | modified | +3 −1 |
| src/man/drop_aggregate.l | modified | +4 −4 |
| src/test/regress/sql/destroy.sql | modified | +4 −4 |
| src/test/regress/sql/errors.sql | modified | +10 −1 |