Re: [PATCH] Support for foreign keys with arrays

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [PATCH] Support for foreign keys with arrays
Дата
Msg-id 1322196765.23871.5.camel@vanquo.pezone.net
обсуждение исходный текст
Ответ на Re: [PATCH] Support for foreign keys with arrays  (Merlin Moncure <mmoncure@gmail.com>)
Список pgsql-hackers
On mån, 2011-11-21 at 10:30 -0600, Merlin Moncure wrote:
> I like the idea of being able to define more flexible foreign keys,
> but are we gilding the lily here?  The proposed solution is really
> quite specific to the nuances of arrays.  Perhaps there is a more
> general expression based syntax that leaves the door open for other
> types conditions such as dealing fields dependent on other fields?

Yeah, basically you'd just need a contains and/or is-contained-by
operator between the two types.



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

Предыдущее
От: NISHIYAMA Tomoaki
Дата:
Сообщение: Re: [PATCH] PostgreSQL fails to build with 32bit MinGW-w64
Следующее
От: Pavan Deolasee
Дата:
Сообщение: Re: Storing hot members of PGPROC out of the band