Re: [HACKERS] ALTER DOMAIN DROP CONSTRAINT doesn't catch errors

2012-01-05 Thread Robert Haas
On Thu, Dec 29, 2011 at 4:02 PM, Peter Eisentraut wrote: > Is there a secret reason why > > ALTER DOMAIN foo DROP CONSTRAINT nonexistent; > > doesn't report any error? > > If not, I think we should add one and also add the usual IF EXISTS > option. +1. -- Robert Haas EnterpriseDB: http://www.en

[HACKERS] ALTER DOMAIN DROP CONSTRAINT doesn't catch errors

2011-12-29 Thread Peter Eisentraut
Is there a secret reason why ALTER DOMAIN foo DROP CONSTRAINT nonexistent; doesn't report any error? If not, I think we should add one and also add the usual IF EXISTS option. -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://ww