| От | Allan Engelhardt |
|---|---|
| Тема | Re: Character collating order |
| Дата | |
| Msg-id | 3B42269F.E6D9DE58@cybaea.com обсуждение исходный текст |
| Ответ на | Character collating order (Allan Engelhardt <allane@cybaea.com>) |
| Список | pgsql-novice |
Tom Lane wrote: > Allan Engelhardt <allane@cybaea.com> writes: > > I'm using the SQL_ASCII encoding, and un-setting the LANG environment > > variable (which is the only locale variable set for the account; it > > defaults to en_US) for postgres when starting postmaster does not fix > > it. > > In 7.1, collation is determined by the locale variables seen at initdb > time. You probably need to re-initdb with LANG=C. Try > contrib/pg_controldata to verify the guess that the database's locale > is not C ... Bingo! Re-init and re-start fixes the test script. Now I just need to figure out how I want to run my database......... Thanks a million: you're a hero. Allan.
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера