drop if exists - Mailing list pgsql-hackers

From Andrew Dunstan
Subject drop if exists
Date
Msg-id 43504D77.6060504@dunslane.net
Whole thread Raw
Responses Re: drop if exists
Re: drop if exists
Re: drop if exists
List pgsql-hackers
From time to time the suggestion crops up of allowing a DROP IF EXISTS 
... syntax. This seems not unreasonable, and I just spent a few minutes 
looking at what might be involved. Especially in the case of a table, 
view, sequence and index the changes look like they would be very modest 
indeed, and not enormously greater in the case of  a type, domain, 
conversion and schema.

Is this worth doing? Would it be acceptable?

cheers

andrew


pgsql-hackers by date:

Previous
From: David Fetter
Date:
Subject: Re: slow IN() clause for many cases
Next
From: David Fetter
Date:
Subject: Re: drop if exists