Re: [PATCHES] Inherited Constraints

Поиск
Список
Период
Сортировка
От Hannu Krosing
Тема Re: [PATCHES] Inherited Constraints
Дата
Msg-id 1141681997.3810.4.camel@localhost.localdomain
обсуждение исходный текст
Ответ на Re: [PATCHES] Inherited Constraints  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: [PATCHES] Inherited Constraints  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Ühel kenal päeval, E, 2006-03-06 kell 12:12, kirjutas Bruce Momjian:
> Added to TODO:
> 
>       o Prevent parent tables from altering or dropping constraints
>         like CHECK that are inherited by child tables
> 
>         Dropping constraints should only be possible with CASCADE.
> 
> and we already have this in TODO:
> 
>         o %Prevent child tables from altering or dropping constraints
>           like CHECK that were inherited from the parent table
> 
> so I think we now have all the failure cases documented.

If you want to be consistent, then ALTER TABLE ONLY ADD CONSTRAINT  .. 
should also be forbidden, so you can't create non-inherited constraints

---------------
Hannu




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruno Wolff III
Дата:
Сообщение: Re: [PATCHES] LDAP auth
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [PATCHES] Inherited Constraints