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

Adrian and Bèrto,

Thank you very much for quick and excellent replies. Locale names are
different in every Linux distro.
Postgresql does not provide any way to retrieve them (ssh access is reqired
to retireve them using locale -a)

Thus suggection using hard coded locale names is not possible.

How to force server to use et_EE.UTF-8 as default locale without hard coding
it into application?

How to force command

CREATE DATABASE <yourdbname> TEMPLATE = template0

to use et_EE.UTF-8  locale by default ?

Andrus.


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Trying to understand postgres crash
Next
From: Jacques Lamothe
Date:
Subject: Cannot connect to 2nd cluster database remotely