FK issue

Поиск
Список
Период
Сортировка
От mike
Тема FK issue
Дата
Msg-id 1086880913.12907.2.camel@datacc
обсуждение исходный текст
Ответы Re: FK issue
Re: FK issue
Re: FK issue
Список pgsql-general
I have set up a FK as follows

ALTER TABLE lk_sub_con ADD FOREIGN KEY (type) REFERENCES
lk_sort_of_contact(type_code);

However when I do this

INSERT INTO lk_sort_of_contact (type_code) VALUES ('1') (ie: a NULL into
the FK) it works

Is this a bug?

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