From: Noah Misch <noah@leadboat.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Gabriele Bartolini <gabriele.bartolini@2ndQuadrant.it>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Cc: Marco Nenciarini <marco.nenciarini@2ndQuadrant.it>
Subject: Re: [PATCH] Support for foreign keys with arrays
Date: Sun, 11 Dec 2011 19:46:17 -0500
Message-ID: <20111212004617.GC10399@tornado.leadboat.com> (raw)
In-Reply-To: <1652.1321506512@sss.pgh.pa.us>
References: <4EB3DF02.4020604@2ndQuadrant.it>
<20111117042841.GA20517@tornado.leadboat.com>
<1652.1321506512@sss.pgh.pa.us>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: noah@leadboat.com, tgl@sss.pgh.pa.us, gabriele.bartolini@2ndQuadrant.it, marco.nenciarini@2ndQuadrant.it
Subject: Re: [PATCH] Support for foreign keys with arrays
In-Reply-To: <20111212004617.GC10399@tornado.leadboat.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox