Systems with invalid locales
martin.pitt at ubuntu.com
Wed Jun 5 13:04:21 UTC 2013
Steve Langasek [2013-06-04 12:48 -0700]:
> On Tue, Jun 04, 2013 at 12:03:10PM +0200, Martin Pitt wrote:
> I'm not sure what the right fix for this is - maybe the postgres packages
> should generate their own collation data from the locales package at install
> or build time? Certainly, if you need a particular locale at package build
> time, the portable way to handle this is to build it yourself and point at
> the local copy; this might be the right answer wrt database servers at
> runtime, too.
PostgreSQL doesn't need some fixed locale, it will create the cluster
with whichever locale is set when you call pg_upgradecluster; for
pacakge installation that's the locale the postinst script runs under,
which is usually defined in /etc/default/locale. I don't think that
everything which wants to use the system default locale must create it
by itself -- it should just be available, shouldn't it?
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 836 bytes
Desc: Digital signature
More information about the ubuntu-devel