Re: conditional dropping of columns/constraints - Mailing list pgsql-hackers

From Robert Haas
Subject Re: conditional dropping of columns/constraints
Date
Msg-id 603c8f070905041034i113aa3do686ae24222936720@mail.gmail.com
Whole thread Raw
In response to conditional dropping of columns/constraints  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
On Mon, May 4, 2009 at 10:10 AM, Andres Freund <andres@anarazel.de> wrote:
> Would a patch adding 'IF EXISTS' support to:
> - ALTER TABLE ... DROP COLUMN
> - ALTER TABLE ... DROP CONSTRAINT
> possibly be accepted?
>
> Having it makes the annoying task of writing/testing of schema-upgrade
> scripts a bit easier.

Can't speak for the committers, but I've wished for this a time or two myself.

...Robert


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: windows shared memory error
Next
From: "K, Niranjan (NSN - IN/Bangalore)"
Date:
Subject: Synchronous replication: replication_timeout parameter