Re: drop if exists

From: David Fetter <david(at)fetter(dot)org>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: drop if exists
Date: 2005-10-15 00:47:48
Message-ID: 20051015004748.GA27964@fetter.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)fetter(dot)org http://fetter.org/
phone: +1 510 893 6100 mobile: +1 415 235 3778

Remember to vote!

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2005-10-15 01:32:02 Re: drop if exists
Previous Message Andrew Dunstan 2005-10-15 00:29:43 drop if exists