drop if exists remnainder (reprise)
Here is an updated patch for the remaining cases of DROP objtype IF
EXISTS ... as recently discussed on -hackers.
The cases are:
language, tablespace, trigger, rule, opclass, function, aggregate.
operator, and cast.
Regression tests and docs still to come.
I wasn't quite sure how to format the message in the case of aggregate -
the change in calls there seems to have made it somewhat harder, so some
advice would be appreciated.
cheers
andrew
Attachments:
die-rem.patchtext/x-patch; name=die-rem.patchDownload+299-194
Andrew Dunstan wrote:
Here is an updated patch for the remaining cases of DROP objtype IF
EXISTS ... as recently discussed on -hackers.The cases are:
language, tablespace, trigger, rule, opclass, function, aggregate.
operator, and cast.Regression tests and docs still to come.
I wasn't quite sure how to format the message in the case of aggregate
- the change in calls there seems to have made it somewhat harder, so
some advice would be appreciated.
I have committed this to avoid further bitrot.
I will get docs and regression tests done shortly.
cheers
andrew