Re: conditional dropping of columns/constraints

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: conditional dropping of columns/constraints
Date: 2009-05-04 17:34:41
Message-ID: 603c8f070905041034i113aa3do686ae24222936720@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, May 4, 2009 at 10:10 AM, Andres Freund <andres(at)anarazel(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message K, Niranjan (NSN - IN/Bangalore) 2009-05-04 17:37:01 Synchronous replication: Admin command for replication_timeout_action
Previous Message K, Niranjan (NSN - IN/Bangalore) 2009-05-04 17:13:06 Synchronous replication: replication_timeout parameter