Re: RI violated, bug or feature?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: RI violated, bug or feature?
Дата
Msg-id 3392.971556002@sss.pgh.pa.us
обсуждение исходный текст
Ответ на RI violated, bug or feature?  (100.179370@germanynet.de (Martin Jacobs))
Список pgsql-general
100.179370@germanynet.de (Martin Jacobs) writes:
>     test_ri=> insert into books (title) values ('violated');
>     INSERT 35903 1

> Hey, I have now a row in books, which has no corresponding
> publisher entry. Let's do another test:

If you don't want to allow NULLs in a referencing column, add a
NOT NULL constraint to it.  Otherwise they're allowed.

            regards, tom lane

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

Предыдущее
От: 100.179370@germanynet.de (Martin Jacobs)
Дата:
Сообщение: RI violated, bug or feature?
Следующее
От: Collin Peters
Дата:
Сообщение: JDBC Driver homepage down