Re: drop if exists - Mailing list pgsql-hackers

From David Fetter
Subject Re: drop if exists
Date
Msg-id 20051015004748.GA27964@fetter.org
Whole thread Raw
In response to drop if exists  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
On Fri, Oct 14, 2005 at 08:29:43PM -0400, Andrew Dunstan wrote:
> 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?

Yes, and yes, in my case :)

Cheers,
D
-- 
David Fetter david@fetter.org http://fetter.org/
phone: +1 510 893 6100   mobile: +1 415 235 3778

Remember to vote!


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: drop if exists
Next
From: Alvaro Herrera
Date:
Subject: Re: drop if exists