Re: Query in function not using index...

Поиск
Список
Период
Сортировка
От Listmail
Тема Re: Query in function not using index...
Дата
Msg-id op.trgkiqmuzcizji@apollo13
обсуждение исходный текст
Ответ на Query in function not using index...  (John Cole <john.cole@uai.com>)
Ответы Re: Query in function not using index...
Список pgsql-general

> Any idea why using a variable v_streetName instead of a string 'wynn%'
> behaves differently?

    Yeah.
    'wynn%' doesn't start with % so LIKE uses index.
    But Postgres doesn't know that you know that the contents of this
variable never starts with '%'...


>
> Thanks,
>
> John
>



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

Предыдущее
От: Rich Shepard
Дата:
Сообщение: Re: Preferred Installation/Data Directories
Следующее
От: Russ Brown
Дата:
Сообщение: Re: Preferred Installation/Data Directories