Re: FOREIGN KEY composite_type.its_field REFERENCES ....

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: FOREIGN KEY composite_type.its_field REFERENCES ....
Дата
Msg-id 24354.1266946574@sss.pgh.pa.us
обсуждение исходный текст
Ответ на FOREIGN KEY composite_type.its_field REFERENCES ....  (Belka Lambda <lambda-belka@yandex.ru>)
Список pgsql-general
Belka Lambda <lambda-belka@yandex.ru> writes:
> Is there a way to construct FOREIGN KEYs  from parts of composite-typed field?

No, and even if the system let you do it, the performance would probably
suck.  Composite-type fields are not something to be used with abandon.
To me your example looks like a design pattern to avoid.

            regards, tom lane

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

Предыдущее
От: dipti shah
Дата:
Сообщение: Re: SET Role doesn't work from Security Definer Function...
Следующее
От: Tom Lane
Дата:
Сообщение: Re: "make check" failed on 8.4.2 install