Re: Array of foreign key

Поиск
Список
Период
Сортировка
От Peter J. Holzer
Тема Re: Array of foreign key
Дата
Msg-id 20171223192757.vfiqofgzylpuzfki@hjp.at
обсуждение исходный текст
Ответ на Re: Array of foreign key  (Melvin Davidson <melvin6925@gmail.com>)
Ответы Re: Array of foreign key  (Melvin Davidson <melvin6925@gmail.com>)
Список pgsql-general
On 2017-12-23 13:14:50 -0500, Melvin Davidson wrote:
> On Sat, Dec 23, 2017 at 12:49 PM, Ken Tanzer <ken.tanzer@gmail.com> wrote:
>
>     I thought the OP was asking for this feature ("Support for Array ELEMENT
>     Foreign Keys"):
>
>     https://www.postgresql.org/message-id/flat/1343842863.
>     5162.4.camel@greygoo.devise-it.lan#1343842863.5162.4.
>     camel@greygoo.devise-it.lan 
>
>     which would be super-handy, but doesn't actually exist.  You can enforce it
>     yourself with a trigger on both tables, but I still hope this someday gets
>     included into Postgres!
>
> Actually, I think the op may be referring to a MULTI COLUMN FK array

I see no reason to assume that. He explicitely asked about an array of
foreign keys, and there is no array here.

        hp

--
   _  | Peter J. Holzer    | we build much bigger, better disasters now
|_|_) |                    | because we have much more sophisticated
| |   | hjp@hjp.at         | management tools.
__/   | http://www.hjp.at/ | -- Ross Anderson <https://www.edge.org/>

Вложения

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

Предыдущее
От: "Peter J. Holzer"
Дата:
Сообщение: Re: Array of foreign key
Следующее
От: Melvin Davidson
Дата:
Сообщение: Re: Array of foreign key