Re: Regular expressions and arrays and ANY() question

Поиск
Список
Период
Сортировка
От David Fetter
Тема Re: Regular expressions and arrays and ANY() question
Дата
Msg-id 20070123155654.GH5470@fetter.org
обсуждение исходный текст
Ответ на Re: Regular expressions and arrays and ANY() question  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On Tue, Jan 23, 2007 at 09:30:49AM -0500, Tom Lane wrote:
> 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).

How hard would it be to add the array-on-the-left flavor?

Cheers,
D
--
David Fetter <david@fetter.org> http://fetter.org/
phone: +1 415 235 3778        AIM: dfetter666
                              Skype: davidfetter

Remember to vote!

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

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