Re: select ARRAY[1, 4, 3] @> ARRAY[3, 1] gives ERROR: operator does not exist: integer[] @> integer[] ???

From: "David Gagnon" <david(dot)gagnon(at)cesart(dot)com>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Re: select ARRAY[1, 4, 3] @> ARRAY[3, 1] gives ERROR: operator does not exist: integer[] @> integer[] ???
Date: 2007-02-27 16:35:33
Message-ID: 00bf01c75a8d$4d545710$7401a8c0@cesart.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Dam! my computer rebooted and restarted the old 8.1 postmaster...

Thanks for your help. Sorry for the noise.

Best Regards
David

-----Message d'origine-----
De : Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
Envoyé : Tuesday, February 27, 2007 11:02 AM
À : David Gagnon
Cc : pgsql-general(at)postgresql(dot)org
Objet : Re: [GENERAL] select ARRAY[1,4,3] @> ARRAY[3,1] gives ERROR:
operator does not exist: integer[] @> integer[] ???

"David Gagnon" <david(dot)gagnon(at)cesart(dot)com> writes:
> I tried select ARRAY[1,4,3] @> ARRAY[3,1] in pgAdminIII and get an
error.
> ...
> Thanks to point me what I'm doing wrong or how to fix this :-/

Don't use the 8.2 manuals as a guide to an 8.1 or older PG? That
operator is new in 8.2.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Markus Schulz 2007-02-27 16:44:06 pg_dump and restore problem with function as DEFAULT-Constraint
Previous Message Tom Lane 2007-02-27 16:34:41 Re: How to debug this crash?