Re: ALTER DOMAIN DROP CONSTRAINT doesn't catch errors

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: ALTER DOMAIN DROP CONSTRAINT doesn't catch errors
Date: 2012-01-05 13:15:22
Message-ID: CA+TgmoZ9uCaKadOz5SYrWAjsie_81WcGrqZDAt7XN4hJ0W=Lsg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Dec 29, 2011 at 4:02 PM, Peter Eisentraut <peter_e(at)gmx(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2012-01-05 13:18:48 FATAL: bogus data in lock file "postmaster.pid": ""
Previous Message Manabu Ori 2012-01-05 12:40:56 Re: spinlocks on powerpc