Re: Regular expressions and arrays and ANY() question

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Regular expressions and arrays and ANY() question
Дата
Msg-id 18187.1169562649@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Regular expressions and arrays and ANY() question  (Martijn van Oosterhout <kleptog@svana.org>)
Ответы Re: Regular expressions and arrays and ANY() question  (David Fetter <david@fetter.org>)
Список pgsql-general
Martijn van Oosterhout <kleptog@svana.org> writes:
> If you created such a function, and made an operator with it that was a
> communtator of LIKE (call it "is liked by"), would the planner be smart
> enough to split the ANY and commutate it to the normal order?

No, at least not as of 8.2, because ANY translates as a ScalarArrayOpExpr
which only comes in the one flavor (array on the right).

            regards, tom lane

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

Предыдущее
От: Csaba Nagy
Дата:
Сообщение: Re: too many trigger records found for relation "item" -
Следующее
От: Tom Lane
Дата:
Сообщение: Re: too many trigger records found for relation "item" -