This also affects the result of the installation, even when using a
valid locale.

If postgresql is installed in a terminal with LC_ALL="C", it is not
possible to create unicode databases:

$ createdb -E UNICODE test
createdb: database creation failed: ERROR:  new encoding (UTF8) is incompatible 
with the encoding of the template database (SQL_ASCII)

Specifying --locale when running pg_createcluster in the postinstall
script will make the installation independent of the terminal.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/969462

Title:
  fails to start after install if invalid locale is set

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/postgresql-9.1/+bug/969462/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to