Array values and foreign keys

Поиск
Список
Период
Сортировка
От Daniel Savard
Тема Array values and foreign keys
Дата
Msg-id 2004102710192.2081413.dsavard@cids.ca
обсуждение исходный текст
Ответы Re: Array values and foreign keys
Список pgsql-general
Is there a way to define a foreign key for the values of an array?

For example, if table T1 is having a colum A which is defined as integer[] can I define a foreign key in order to force
eachvalue to be a pointer (index) to a row in a table T2? 

If yes, how? Is there any shortcomings to this approach?

Thanks,

Daniel Savard

---
Daniel Savard
dsavard@cids.ca

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