Re: [PATCH] Support for foreign keys with arrays - Mailing list pgsql-hackers

From Robert Haas
Subject Re: [PATCH] Support for foreign keys with arrays
Date
Msg-id CA+TgmoZKu+rU7NF=hR09BSLdJkWmvcwH18c-mq+tgiDDiCBYtQ@mail.gmail.com
Whole thread Raw
In response to Re: [PATCH] Support for foreign keys with arrays  (Gabriele Bartolini <gabriele.bartolini@2ndQuadrant.it>)
List pgsql-hackers
On Mon, Jul 30, 2012 at 11:12 AM, Gabriele Bartolini
<gabriele.bartolini@2ndquadrant.it> wrote:
> Hi guys,
>
>    it is time to give another go to this patch. I would like to thank
> everyone for suggestions and ideas expressed through this list.
>
>    We are happy that "Part 0" of the patch has been committed
> (array_remove() and array_replace() functions), which will be useful in
> "Part 2" (too early now to talk about it). Let's not rush though and focus
> on "Part 1" of the patch. :)
>
>    First, I would like to find a unique and general term for this feature.
> We started with "Foreign keys with arrays" and ended up with "EACH foreign
> keys". Following Peter's suggestion, we will use the "ELEMENT" keyword (so
> that maybe in the future we can extend the usage). Our proposals are:
>
> * Array Foreign Key
> * Foreign Key Arrays
> * ELEMENT Foreign Keys
> * ...
>
>    Which one is your favourite?

I think having the word "element" in there makes it a lot clearer.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: [PATCH] Support for foreign keys with arrays
Next
From: Pavel Stehule
Date:
Subject: strange evaluation Window function and SRF functions?