Re: select fails on indexed varchars.

Поиск
Список
Период
Сортировка
От Alex Krohn
Тема Re: select fails on indexed varchars.
Дата
Msg-id 20010125214821.0AC6.ALEX@gossamer-threads.com
обсуждение исходный текст
Ответ на Re: select fails on indexed varchars.  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
Hi Tom,

> Alex Krohn <alex@gossamer-threads.com> writes:
> >         links=# select * from foo where a like 'Test/%'
> >         links-# ;
> >          a
> >         ---
> >         (0 rows)
>
> This looks like an artifact of the known problems with LIKE index
> optimization in non-ASCII locales.  What locale are you running the
> postmaster in?

Is this what you are looking for:

[postgres@penguin pgsql]$ locale
LANG=en_US
LC_CTYPE="en_US"
LC_NUMERIC="en_US"
LC_TIME="en_US"
LC_COLLATE="en_US"
LC_MONETARY="en_US"
LC_MESSAGES="en_US"
LC_ALL=en_US
[postgres@penguin pgsql]$

Postmaster is running as user pgsql. Any ideas on workarounds?

Cheers,

Alex

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

Предыдущее
От: Alex Krohn
Дата:
Сообщение: Re: select fails on indexed varchars.
Следующее
От: Michael Davis
Дата:
Сообщение: Bug with foreign keys and importing from a pg_dump file?