Re: A *short* planner question

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: A *short* planner question
Дата
Msg-id 16054.1018715302@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: A *short* planner question  ("Nick Fankhauser" <nickf@ontko.com>)
Список pgsql-admin
"Nick Fankhauser" <nickf@ontko.com> writes:
> ... In addition, since we're using a "like", typing
> in only an initial char would get roughly 1/26 of the rows back- Does the
> planner look at the number of leading chars provided when coming up with a
> plan?

Yeah it does, if it can see a constant pattern for the LIKE or regex match.

            regards, tom lane

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

Предыдущее
От: "Nick Fankhauser"
Дата:
Сообщение: Re: A *short* planner question
Следующее
От: Egon Reetz
Дата:
Сообщение: Wrong date inserts