Re: error in expr. with array or wrong in documentation ?

Поиск
Список
Период
Сортировка
Искать
От
Peter Eisentraut
Тема
Re: error in expr. with array or wrong in documentation ?
Дата
в 13:47:14
Msg-id
Pine.LNX.4.30.0105211844150.757-100000@peter.localdomain
Ответ на
Список
Дерево обсуждения
create type and backend terminate "And. Andruikhanov" <andy@euinf.dp.ua>
Re: create type and backend terminate Tom Lane <tgl@sss.pgh.pa.us>
temp table in pl/pgsql language "And. Andruikhanov" <andy@euinf.dp.ua>
timestamp (minor bug) "And. Andruikhanov" <andy@euinf.dp.ua>
Re: timestamp (minor bug) Tom Lane <tgl@sss.pgh.pa.us>
Re: timestamp (minor bug) "And. Andruikhanov" <andy@euinf.dp.ua>
Re: timestamp (minor bug) Tom Lane <tgl@sss.pgh.pa.us>
error in expr. with array or wrong in documentation ? "And. Andruikhanov" <andy@euinf.dp.ua>
Re: error in expr. with array or wrong in documentation ? Peter Eisentraut <peter_e@gmx.net>
And. Andruikhanov writes:

> Chapter 6. Arrays (In Documentation). It say:
>    To search the entire array (not just specified columns), you could
>    use:
> SELECT * FROM sal_emp WHERE pay_by_quarter *= 10000;
>
> But, If client try to execute query, for example:
> select * from pg_group where grolist *= 1003::integer;
>
> Then it received message: ERROR:  Unable to identify an operator '*=' for types
> '_int4' and 'int4'
> You will have to retype this query using an explicit cast

The documentation also says:

: To install this optional module, look in the contrib/array directory of
: the PostgreSQL source distribution.

Did you do that?

-- 
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter
В списке pgsql-bugs по дате отправления
От: And. Andruikhanov
Дата:
От: pgsql-bugs@postgresql.org
Дата:
Сообщение: Comments on Database Broken
FAQ