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
Ответ на
Список
Дерево обсуждения
Regular expressions and arrays and ANY() question webb.sprague@gmail.com
Re: Regular expressions and arrays and ANY() question Tom Lane <tgl@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 Tom Lane <tgl@sss.pgh.pa.us>
Re: Regular expressions and arrays and ANY() question David Fetter <david@fetter.org>
Martijn van Oosterhout  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
Дата:
От: Tom Lane
Дата:
FAQ