Re: pgsql: Arrange to set the LC_XXX environment variables to match our

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Magnus Hagander" <mha(at)sollentuna(dot)net>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Arrange to set the LC_XXX environment variables to match our
Date: 2005-12-31 21:25:05
Message-ID: 21556.1136064305@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

"Magnus Hagander" <mha(at)sollentuna(dot)net> writes:
> This patch appears to have killed win32 builds that *don't* have NLS
> enabled:

> pg_locale.c:109: error: `LC_MESSAGES' undeclared (first use in this
> function)

Silly me for assuming all WIN32 platforms are alike ;-)

What's the appropriate behavior in this case --- just treat it as a
no-op, as we do on Unix when LC_MESSAGES isn't defined?

regards, tom lane

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2005-12-31 23:50:59 pgsql: Clean up initdb's code for selecting max_connections and
Previous Message Bruce Momjian 2005-12-31 19:39:11 pgsql: Rename variable to cmd_str.