select ARRAY[1,4,3] @> ARRAY[3,1] gives ERROR: operator does not exist: integer[] @> integer[] ??? - Mailing list pgsql-general

From David Gagnon
Subject select ARRAY[1,4,3] @> ARRAY[3,1] gives ERROR: operator does not exist: integer[] @> integer[] ???
Date
Msg-id 00b401c75a85$2dcc9180$7401a8c0@cesart.local
Whole thread Raw
Responses Re: select ARRAY[1,4,3] @> ARRAY[3,1] gives ERROR: operator does not exist: integer[] @> integer[] ???  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Hi all,

  I tried select ARRAY[1,4,3] @> ARRAY[3,1] in pgAdminIII and get an error.
This example comes directly from the postgresql manual section: 9.14. Array
Functions and Operators.

Did I screw up something ?  I tried on a 8.1 postgreql and get the same
error.


ERROR: operator does not exist: integer[] @> integer[]
SQL state: 42883
Hint: No operator matches the given name and argument type(s). You may need
to add explicit type casts.

Thanks to point me what I'm doing wrong or how to fix this :-/

Regards

David



pgsql-general by date:

Previous
From: Bill Moran
Date:
Subject: Re: Unable to restore dump due to client encoding issues -- or, when is SQL_ASCII really UTF8
Next
From: Tom Lane
Date:
Subject: Re: dropping a master table and all of its partitions?