Re: [PATCH] Support for foreign keys with arrays

Поиск
Список
Период
Сортировка
От Noah Misch
Тема Re: [PATCH] Support for foreign keys with arrays
Дата
Msg-id 20111212004617.GC10399@tornado.leadboat.com
обсуждение исходный текст
Ответ на Re: [PATCH] Support for foreign keys with arrays  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Thu, Nov 17, 2011 at 12:08:32AM -0500, Tom Lane wrote:
> The least we could do is invent some non-spec syntax that makes the
> intention clear, rather than having the system assume that an error case
> was intended to mean something else.  Maybe
> 
>     pids INTEGER[] ARRAY REFERENCES pt,

+1.  Perhaps this for the table_constraint syntax:
FOREIGN KEY (ARRAY foo, bar, ARRAY pids) REFERENCES pt


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

Предыдущее
От: Noah Misch
Дата:
Сообщение: Re: [PATCH] Support for foreign keys with arrays
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Why do regression tests now leave "regress_test_role_super" around?