Re: partial "on-delete set null" constraint

Поиск
Список
Период
Сортировка
От Alban Hertroys
Тема Re: partial "on-delete set null" constraint
Дата
Msg-id 35D8084A-00DF-4FD8-AB5D-71846EF952AE@gmail.com
обсуждение исходный текст
Ответ на Re: partial "on-delete set null" constraint  (Alban Hertroys <haramrae@gmail.com>)
Ответы Re: partial "on-delete set null" constraint  (Rafal Pietrak <rafal@ztk-rp.eu>)
Список pgsql-general
> On 03 Jan 2015, at 14:11, Alban Hertroys <haramrae@gmail.com> wrote:
>
> On 02 Jan 2015, at 13:31, Rafal Pietrak <rafal@ztk-rp.eu> wrote:
>> Would it violate SQL standard (signifficantly), if an "on delete set null" action just ignored all the FK columns
thathave a "NOT NULL" constraint set? 
>
> As I understand it, this is precisely why Boyce-relationality forbids NULLs in primary keys, although I’m not so sure
he’sright about that. 

Well, that’s embarrassing, it’s only a few weeks since I learned this and I’m already attributing the theory to the
wrongdatabase deity! That’s Codd-relationality, of course. Not Boyce. 

Alban Hertroys
--
If you can't see the forest for the trees,
cut the trees and you'll find there is no forest.



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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: partial "on-delete set null" constraint
Следующее
От: Alban Hertroys
Дата:
Сообщение: Re: partial "on-delete set null" constraint