conditional dropping of columns/constraints

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-hackers(at)postgresql(dot)org
Subject: conditional dropping of columns/constraints
Date: 2009-05-04 14:10:49
Message-ID: 49FEF769.60504@anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

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.

Andres

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2009-05-04 14:14:10 Re: windows shared memory error
Previous Message K, Niranjan (NSN - IN/Bangalore) 2009-05-04 14:07:45 Synchronous replication: Promotion of Standby to Primary