| От | Hannes Dorbath |
|---|---|
| Тема | Re: default db |
| Дата | |
| Msg-id | 4652EB72.1040508@theendofthetunnel.de обсуждение исходный текст |
| Ответ на | default db (Sandro Dentella <sandro@e-den.it>) |
| Список | pgsql-general |
On 22.05.2007 14:02, Sandro Dentella wrote: > I see that the default encoding for a db is taken from template1. > > I'm using debian and I don't understand how to create template1 on > installation of postgresql with a preferred encoding. > > Is it safe to just dump/restore template1 with different encoding? Default encoding is taken from the cluster locale. Debian sure has some fancy wrapper scripts for that, but initdb -D $PGDATA --locale='en_US.utf8' is the command to create a new cluster with another locale. Chose one from locale -a -- Regards, Hannes Dorbath
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера