Re: How to create database with default system locale is set to et_EE.UTF-8

Поиск
Список
Период
Сортировка
Искать
От
Peter Eisentraut
Тема
Re: How to create database with default system locale is set to et_EE.UTF-8
Дата
Msg-id
1324653796.5235.0.camel@fsopti579.F-Secure.com
Ответ на
Список
Дерево обсуждения
How to create database with default system locale is set to et_EE.UTF-8 "Andrus" <kobruleht2@hot.ee>
Re: How to create database with default system locale is set to et_EE.UTF-8 Adrian Klaver <adrian.klaver@gmail.com>
On tor, 2011-12-22 at 18:29 +0200, Andrus wrote:
> How to force command
> 
> CREATE DATABASE  TEMPLATE = template0
> 
> to use et_EE.UTF-8  locale by default ?

If you don't want to re-initdb, you could just update the datctype and
datcollate columns of pg_database for template0.

If you want to re-initdb, check the pg_createcluster man page on Debian.


В списке pgsql-general по дате отправления
От: Adrian Klaver
Дата:
От: Andrus
Дата:
FAQ