Re: cataloguing NOT NULL constraints
От | Robert Haas |
---|---|
Тема | Re: cataloguing NOT NULL constraints |
Дата | |
Msg-id | CA+TgmoaJbuai2wiWjYUMsawZQL57wOhP7Kg9q=kkVO8qc97MQQ@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: cataloguing NOT NULL constraints (Alvaro Herrera <alvherre@commandprompt.com>) |
Ответы |
Re: cataloguing NOT NULL constraints
Re: cataloguing NOT NULL constraints |
Список | pgsql-hackers |
On Thu, Jul 21, 2011 at 7:51 PM, Alvaro Herrera <alvherre@commandprompt.com> wrote: >> I think that there probably ought to be a way to display the NOT NULL >> constraint names (perhaps through \d+). For example, if you're >> planning to support NOT VALID on top of this in the future, then there >> needs to be a way to get the constraint's name to validate it. > > Absolutely true. Another thing that needs to be done here is to let the > ALTER TABLE and ALTER DOMAIN commands use the constraint names; right > now, they simply let you add the constraint but not specify the name. > That should probably be revisited. That, at least, seems like something that should be fixed before commit. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
В списке pgsql-hackers по дате отправления: