| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера