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