Re: Array of foreign key

From: Thomas Poty <thomas(dot)poty(at)gmail(dot)com>
To: Andreas Kretschmer <andreas(at)a-kretschmer(dot)de>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org, pgsql-general(at)postgresql(dot)org
Subject: Re: Array of foreign key
Date: 2017-12-22 20:40:41
Message-ID: CAN_ctniZMtuMPy++GNV_4w3FT+LWvXMWxSSzsq6Wm82MAT-n5g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Actually, We are migrating from Mysql to postgresql and we have to replace
sets of Mysql. The migration we will be done in 2 steps: First, in a like
for like way. Second step will be using postgresql powerfulness

I think the most like for like way to migrate sets is using enum array.

Thank you Andreas.

Thomas

Le 22 déc. 2017 20:22, "Andreas Kretschmer" <andreas(at)a-kretschmer(dot)de> a
écrit :

> On 22 December 2017 20:02:43 CET, Thomas Poty <thomas(dot)poty(at)gmail(dot)com>
> wrote:
> >Hello all,
> >
> >I use postgresql 9.5 and I am looking for way to have a column which is
> >an
> >array of a foreign key. If what I read is correct it is currently not
> >possible... Have you any idea how to implement this feature in a safe
> >way
>
> Normalisation?
>
> Can you explain that a bit more, what's the use-case?
>
>
> Regards, Andreas
>
>
> --
> 2ndQuadrant - The PostgreSQL Support Company
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Melvin Davidson 2017-12-22 20:56:35 Re: Array of foreign key
Previous Message James Keener 2017-12-22 19:29:58 Re: Does postgresq database supports reading data from the same table from many observable simultanousely?