Re: BUG #3394: Partial search not working

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #3394: Partial search not working
Дата
Msg-id 27357.1182262813@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #3394: Partial search not working  ("Murali Doss" <Murali.Doss@mphasis.com>)
Ответы Re: BUG #3394: Partial search not working  ("Murali Doss" <Murali.Doss@mphasis.com>)
Список pgsql-bugs
"Murali Doss" <Murali.Doss@mphasis.com> writes:
> I have created new database with encoding as sql_ascii and reloaded the
> data but still its returning 0 rows in Linux.

It's locale, not encoding (or not only encoding) that determines sort
order.  It sounds to me like you are using C locale on the other
installations but some non-C locale on the Linux one.  In C locale
"BA" is between "B-" and "B~" but in most other locales it's not.

Check LC_COLLATE setting to find out.  If it's wrong you'll have to
re-initdb :-(

            regards, tom lane

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: BUG #3394: Partial search not working
Следующее
От: "Murali Doss"
Дата:
Сообщение: Re: BUG #3394: Partial search not working