Re: BUG #5816: index not used in function

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: BUG #5816: index not used in function
Дата
Msg-id 4D25AC7A0200002500039079@gw.wicourts.gov
обсуждение исходный текст
Ответ на BUG #5816: index not used in function  ("frank" <frank@ros-i.com>)
Ответы Re: BUG #5816: index not used in function  ("frank" <frank@ros-i.com>)
Список pgsql-bugs
"frank" <frank@ros-i.com> wrote:

> WHERE upper("thisColumn") like $1

The function's plan is kept from one execution to another, and it
can't know what will be in the first parameter -- perhaps '%X%'?  If
you build up the statement in a string and EXECUTE it, you might get
the desired behavior.

Anyway, next time you have an issue like this, please post to the
performance list; this is not a bug.

-Kevin

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

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: BUG #5815: connecting to Atllassian products
Следующее
От: Gabe Nell
Дата:
Сообщение: Re: BUG #5807: psql fails to launch with "Cannot read termcap database; using dumb terminal settings. Aborted"