Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: localization problem (and solution)


  • From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
  • To: Andreas Seltenreich <andreas+pg(at)gate450(dot)dyndns(dot)org>
  • Cc: Manuel Sugawara <masm(at)fciencias(dot)unam(dot)mx>, pgsql-hackers(at)postgresql(dot)org
  • Subject: Re: localization problem (and solution)
  • Date: Wed, 21 Dec 2005 09:49:21 -0500
  • Message-id: <12985(dot)1135176561(at)sss(dot)pgh(dot)pa(dot)us>

Andreas Seltenreich <andreas+pg(at)gate450(dot)dyndns(dot)org> writes:
> I'm afraid having LC_ALL in the environment at this time would still
> do the wrong thing on setlocale(LC_ALL, ""); since a LC_ALL
> environment variable overrides the other categories.

Doh, of course, I was misremembering the precedence.  So we need
	LANG=C
	LC_ALL unset (probably LANGUAGE too, for glibc)
	others as stated

			regards, tom lane



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group