| От | Camm Maguire |
|---|---|
| Тема | Foreign key references to non-primary key columns |
| Дата | |
| Msg-id | 54zoia37zd.fsf@intech19.enhanced.com обсуждение исходный текст |
| Ответы |
Re: Foreign key references to non-primary key columns
|
| Список | pgsql-hackers |
Greetings! I've noticed in the documentation that the sql standard requires foreign keys to reference primary key/(or maybe just unique) columns, but that postgresql does not enforce this. Is this a feature that is intended to persist, or a temporary deviation from the sql standard? The current postgresql behavior seems useful in cases where one wants to update a foreign key to a value already in the original table. Take care, -- Camm Maguire camm@enhanced.com ========================================================================== "The earth is but one country, and mankind its citizens." -- Baha'u'llah
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера