Search Postgresql Archives

Re: Locale Issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Don Parris <parrisdc@xxxxxxxxx> writes:
> When I install the Kubuntu (13.04) postgresql (9.1) packages, the default
> template1 encoding turns out to be ASCII, which is not really what I want.
> My OS locale command reveals everything to be en_US.UTF-8, except for
> LC_ALL, which is left open.

initdb will absorb locale/encoding from its environment, unless told
otherwise through a --locale switch.  So the usual expectation would be
that it'd work like you want.  Perhaps the Ubuntu packager set LANG=C in
the postgres user's ~/.profile, or some such?  Poke around a bit in the
package's files, it shouldn't be too hard to find where the damage is
being done.

			regards, tom lane


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux