Re: FK issue

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: FK issue
Дата
Msg-id 25334.1086883253@sss.pgh.pa.us
обсуждение исходный текст
Ответ на FK issue  (mike <mike@bristolreccc.co.uk>)
Список pgsql-general
mike <mike@bristolreccc.co.uk> writes:
> INSERT INTO lk_sort_of_contact (type_code) VALUES ('1') (ie: a NULL into
> the FK) it works

> Is this a bug?

No.  Mark the column NOT NULL if you wish to disallow nulls.

            regards, tom lane

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