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

Поиск
Список
Период
Сортировка
От David Gagnon
Тема select ARRAY[1,4,3] @> ARRAY[3,1] gives ERROR: operator does not exist: integer[] @> integer[] ???
Дата
Msg-id 00b401c75a85$2dcc9180$7401a8c0@cesart.local
обсуждение исходный текст
Ответы Re: select ARRAY[1,4,3] @> ARRAY[3,1] gives ERROR: operator does not exist: integer[] @> integer[] ???  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Bill Moran
Дата:
Сообщение: Re: Unable to restore dump due to client encoding issues -- or, when is SQL_ASCII really UTF8
Следующее
От: Tom Lane
Дата:
Сообщение: Re: dropping a master table and all of its partitions?