Re: expression index not used within function

Поиск
Список
Период
Сортировка
От LPlateAndy
Тема Re: expression index not used within function
Дата
Msg-id 1384426789728-5778319.post@n5.nabble.com
обсуждение исходный текст
Ответ на Re: expression index not used within function  (David Johnston <polobo@yahoo.com>)
Список pgsql-general
Hi David,

Thanks, i can see the logic there. To place a constant in front, i tried
putting 'pc'||pcode in to the index and 'pc'||$1 in to the WHERE clause. It
had no effect - does the planner see this as a cheat and i need to actually
prefix the data in the tables?

Andy





--
View this message in context:
http://postgresql.1045698.n5.nabble.com/expression-index-not-used-within-function-tp5778236p5778319.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


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

Предыдущее
От: walerina
Дата:
Сообщение: Re: How to print out a mass of text messages from a Samsung smart phone easily?
Следующее
От: LPlateAndy
Дата:
Сообщение: Re: expression index not used within function