drop if exists remnainder (reprise)

Started by Andrew Dunstanover 20 years ago2 messagespatches
Jump to latest
#1Andrew Dunstan
andrew@dunslane.net

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
#2Andrew Dunstan
andrew@dunslane.net
In reply to: Andrew Dunstan (#1)
Re: drop if exists remnainder (reprise)

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