Re: LIKE erratic? or unseen DB corruption?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: LIKE erratic? or unseen DB corruption?
Дата
Msg-id 28847.990461340@sss.pgh.pa.us
обсуждение исходный текст
Ответ на LIKE erratic? or unseen DB corruption?  (Frank Miles <fpm@u.washington.edu>)
Ответы Re: LIKE erratic? or unseen DB corruption?  (Frank Miles <fpm@u.washington.edu>)
Список pgsql-general
Frank Miles <fpm@u.washington.edu> writes:
> A direct query gets appropriate rows of data:
> dbname=# select * from partdef where shpname = 'IDC16W';
> ...while the very same query (substituting LIKE for the '=' sign) gets nothing!?

Hm.  Does EXPLAIN show the same kind of plan (index or seq scan) for
both queries?  If not, does forcing the plan choice via ENABLE_xxxSCAN
make a difference?  Do you have locale support turned on, and if so
what locale are you using?

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: LIKE erratic? or unseen DB corruption?
Следующее
От: Ludovico Romano
Дата:
Сообщение: converting MSAccess to PG with ConvertToPostgreSQL.mdb script of Seva Software