Re: ALTER DOMAIN DROP CONSTRAINT doesn't catch errors - Mailing list pgsql-hackers

From Robert Haas
Subject Re: ALTER DOMAIN DROP CONSTRAINT doesn't catch errors
Date
Msg-id CA+TgmoZ9uCaKadOz5SYrWAjsie_81WcGrqZDAt7XN4hJ0W=Lsg@mail.gmail.com
Whole thread Raw
In response to ALTER DOMAIN DROP CONSTRAINT doesn't catch errors  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
On Thu, Dec 29, 2011 at 4:02 PM, Peter Eisentraut <peter_e@gmx.net> 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.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-hackers by date:

Previous
From: Manabu Ori
Date:
Subject: Re: spinlocks on powerpc
Next
From: Heikki Linnakangas
Date:
Subject: FATAL: bogus data in lock file "postmaster.pid": ""