Re: array in a reference

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: array in a reference
Дата
Msg-id 20030507085300.R26747-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на array in a reference  ("Ries van Twisk" <ries@jongert.nl>)
Список pgsql-sql
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).



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

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: Date Anomaly??
Следующее
От: mdc@keko.com.ar
Дата:
Сообщение: help database corruption