Re: [PATCHES] Inherited Constraints

Поиск
Список
Период
Сортировка
От Trent Shipley
Тема Re: [PATCHES] Inherited Constraints
Дата
Msg-id 200512081829.02377.tshipley@deru.com
обсуждение исходный текст
Ответ на Re: [PATCHES] Inherited Constraints  (Simon Riggs <simon@2ndquadrant.com>)
Ответы Re: [PATCHES] Inherited Constraints  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Thursday 2005-12-08 15:47, Simon Riggs wrote:

> does of course already exist, so the following should cause dependency
> violation ERRORs:
> - omitting the CASCADE when attempting to delete parent constraint
> - attempting to drop the child constraint

Why should dropping the child constraint fail?  

Child tables are supposed to be able to over-ride parent constraints.  
Dropping a parent's constraint sounds like just a way to over-ride a 
constraint with no constraint at all.  (Making the column unconstrained.)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: generic builtin functions
Следующее
От: Christopher Kings-Lynne
Дата:
Сообщение: Re: Another encoding issue