DROP ... IF EXISTS for the following cases:
Andrew Dunstan <andrew@dunslane.net>
DROP ... IF EXISTS for the following cases: language, tablespace, trigger, rule, opclass, function, aggregate. operator, and cast.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/aggregatecmds.c | modified | +16 −2 |
| src/backend/commands/functioncmds.c | modified | +29 −7 |
| src/backend/commands/opclasscmds.c | modified | +29 −10 |
| src/backend/commands/operatorcmds.c | modified | +10 −2 |
| src/backend/commands/proclang.c | modified | +13 −4 |
| src/backend/commands/tablespace.c | modified | +20 −5 |
| src/backend/commands/trigger.c | modified | +18 −6 |
| src/backend/nodes/copyfuncs.c | modified | +7 −1 |
| src/backend/nodes/equalfuncs.c | modified | +7 −1 |
| src/backend/parser/gram.y | modified | +93 −6 |
| src/backend/rewrite/rewriteRemove.c | modified | +15 −6 |
| src/backend/tcop/utility.c | modified | +3 −3 |
| src/include/commands/trigger.h | modified | +2 −2 |
| src/include/nodes/parsenodes.h | modified | +7 −1 |
| src/include/rewrite/rewriteRemove.h | modified | +2 −2 |