Skip site navigation (1) Skip section navigation (2)

ALTER DOMAIN DROP CONSTRAINT doesn't catch errors

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: ALTER DOMAIN DROP CONSTRAINT doesn't catch errors
Date: 2011-12-29 21:02:34
Message-ID: 1325192554.3702.2.camel@vanquo.pezone.net (view raw or flat)
Thread:
Lists: pgsql-hackers
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.


Responses

pgsql-hackers by date

Next:From: Noah MischDate: 2011-12-29 21:17:11
Subject: get_fn_expr_argtype() vs. internal calls
Previous:From: Heikki LinnakangasDate: 2011-12-29 20:45:34
Subject: Re: spinlocks on HP-UX

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group