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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-hackers by date

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