Re: Array comparison - subset

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Array comparison - subset
Дата
Msg-id 9051.1157259548@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Array comparison - subset  (Michael Fuhr <mike@fuhr.org>)
Ответы Re: Array comparison - subset
Список pgsql-general
Michael Fuhr <mike@fuhr.org> writes:
> test=> SELECT ARRAY[1, 2, 3, 4] @ ARRAY[1, 3];
>  ?column?
> ----------
>  t
> (1 row)

> In 8.2 the above example will work in the stock installation for
> arrays of any type (i.e., with operands of type anyarray).

[ blink... ]  When did that get in, and why don't I see it in the
documentation?  The operand order seems exactly backward considering
that all the pre-existing @ operators are "contained in", not
"contains".  Should we flip this around before it's too late?

            regards, tom lane

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

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: Re: Array comparison - subset
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Severe problems with PostgreSQL 7.4.7 installation, please help!