Re: Documentation bug?

Поиск
Список
Период
Сортировка
От Albe Laurenz
Тема Re: Documentation bug?
Дата
Msg-id A737B7A37273E048B164557ADEF4A58B366127B1@ntex2010i.host.magwien.gv.at
обсуждение исходный текст
Ответ на Documentation bug?  (Thomas Kellerer <spam_eater@gmx.net>)
Список pgsql-general
Thomas Kellerer wrote:
> I just noticed that you can do something like this (using 9.4.1):
> 
>    select array[1,2,3] - 3
> 
> which is doing the same thing as:
> 
>    select array_remove(array[1,2,3],3)

I can't reproduce this on my PostgreSQL 9.4.1:

test=> select array[1,2,3] - 3;
ERROR:  operator does not exist: integer[] - integer
LINE 1: select array[1,2,3] - 3;
                            ^
HINT:  No operator matches the given name and argument type(s). You might need to add explicit type casts.

Did you add casts or operators?

Yours,
Laurenz Albe

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

Предыдущее
От: Thomas Kellerer
Дата:
Сообщение: Documentation bug?
Следующее
От: Maxim Boguk
Дата:
Сообщение: Re: Documentation bug?