Re: question about which column(s) are the right foreign key

Поиск
Список
Период
Сортировка
От Markus Bertheau
Тема Re: question about which column(s) are the right foreign key
Дата
Msg-id 1088176363.3189.15.camel@teetnang
обсуждение исходный текст
Ответ на question about which column(s) are the right foreign key  (Markus Bertheau <twanger@bluetwanger.de>)
Список pgsql-sql
As a follow up, I now have object versions with the combined primary key
(object id, date and time of object version creation). Now when I need
to refer to an object version in a foreign key, do I let the object id
column itself reference the objects table in addition to it being part
of the foreign key to the object versions table?

Thanks.

-- 
Markus Bertheau <twanger@bluetwanger.de>



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

Предыдущее
От: Markus Bertheau
Дата:
Сообщение: Re: question about which column(s) are the right foreign key
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: Question about a CIDR based query