Re: Foreign key question

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Foreign key question
Дата
Msg-id 22768.1074184651@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Foreign key question  (Terry Lee Tucker <terry@esc1.com>)
Ответы Re: Foreign key question  (Martin Marques <martin@bugs.unl.edu.ar>)
Список pgsql-general
Terry Lee Tucker <terry@esc1.com> writes:
> From the HTML docs:
> "The referenced columns must be the columns of a unique or primary key
> constraint in the referenced table."

> I personally don't know of a work around. Maybe some of the others do.

There is no workaround, because foreign keys don't make any sense if
there isn't a uniquely identifiable referenced row.

            regards, tom lane

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

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: Foreign key question
Следующее
От: Jan Wieck
Дата:
Сообщение: Re: Oracle -> Postgres live translation?