Re: Bug #3924: Create Database with another encoding as the encoding from postgres
В списке pgsql-bugs по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Bug #3924: Create Database with another encoding as the encoding from postgres |
| Дата | |
| Msg-id | 13392.1225377598@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Bug #3924: Create Database with another encoding as the encoding from postgres (Joe <dev@freedomcircle.net>) |
| Ответы |
Re: Bug #3924: Create Database with another encoding as the
encoding from postgres
|
| Список | pgsql-bugs |
Joe <dev@freedomcircle.net> writes:
> Going back to my options, are you saying that if I re-initdb the 8.3
> cluster to UTF8, restore the LATIN1 db as UTF8, and then do "set
> client_encoding = LATIN1" in the application code, then everything will
> work fine, even if the machine locale remains en_US.iso88591?
No, you'd have to set the database's locale to en_US.utf8 to do that.
Plan B would be to set the database locale to C, which is
encoding-agnostic and hence allows different databases to have different
encodings. Do you actually need en_US sort order?
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера