Re: SET NULL on NOT NULL field

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: SET NULL on NOT NULL field
Дата
Msg-id 10766.1043729367@sss.pgh.pa.us
обсуждение исходный текст
Ответ на SET NULL on NOT NULL field  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Ответы Re: SET NULL on NOT NULL field  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Список pgsql-hackers
"Christopher Kings-Lynne" <chriskl@familyhealth.com.au> writes:
> I just noticed you can do this:
> create table blah (
>     a not null references test on delete set null
> )

> Should that be prevented?

It already does.  Or did you mean disallow the declaration?  I can't see
anything in SQL92 that recommends disallowing the declaration.
        regards, tom lane


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

Предыдущее
От: "Marc G. Fournier"
Дата:
Сообщение: Re: interactive docs error
Следующее
От: Kevin Brown
Дата:
Сообщение: Re: pg_dump and inserts