From: Stephan Szabo <sszabo@megazone23.bigpanda.com>
To: Ries van Twisk <ries@jongert.nl>
Cc: pgsql-sql@postgresql.org
Subject: Re: array in a reference
Date: Wed, 7 May 2003 08:53:58 -0700 (PDT)
Message-ID: <20030507085300.R26747-100000@megazone23.bigpanda.com> (raw)
In-Reply-To: <000b01c314aa$70f58400$f100000a@IT001>
On Wed, 7 May 2003, Ries van Twisk wrote:
>
> Hey Guys,
>
> I was just wondering if it is possible to use a REFERENCE in a array like
> this below:
>
> CREATE TABLE t0 {
> id SERIAL,
> value TEXT
> }
>
> CREATE TABLE t1 {
> id SERIAL,
> t0id INTEGER[] REFERENCES t0(id) -- <<<< Is this possible????
Not in this case, it's going to want to compare the entire array to the
id (and will probably fail saying that there's no = operator for _int4 and
int4).
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-sql@postgresql.org
Cc: sszabo@megazone23.bigpanda.com, ries@jongert.nl
Subject: Re: array in a reference
In-Reply-To: <20030507085300.R26747-100000@megazone23.bigpanda.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