[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgresql-general
Subject:    [HACKERS] ALTER DOMAIN DROP CONSTRAINT doesn't catch errors
From:       Peter Eisentraut <peter_e () gmx ! net>
Date:       2011-12-29 21:02:34
Message-ID: 1325192554.3702.2.camel () vanquo ! pezone ! net
[Download RAW message or body]

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://www.postgresql.org/mailpref/pgsql-hackers
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic