NLS builds on windows and lc_messages

From: Stefan Kaltenbrunner <stefan(at)kaltenbrunner(dot)cc>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: NLS builds on windows and lc_messages
Date: 2010-11-23 17:12:18
Message-ID: 4CEBF5F2.1020506@kaltenbrunner.cc
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

So I'm still trying to look into:

http://archives.postgresql.org/pgsql-hackers/2010-11/msg00686.php

which is still broken in 8.4-STABLE even after toms patch, to get better
debugging I was trying to get non-translated error messages in the log
which seems to be completely impossible in windows(neither through
postgresql.conf nor in a session - at least on my custom build).

* lc_messages on windows just excepts anything (including ridiculous
large values with escapes and all that - which might actually be a
problem) but does not seem to do anything
* the docs claim "If you want the system to behave as if it had no
locale support, use the special locale C or POSIX. " - setting it to 'C'
on windows does not work either
* if that stuff is not working at all on windows we clearly need to add
an appropriate sentence or two in the docs - but this seems like a
really annoying and stupid limitation

Stefan

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2010-11-23 17:12:49 Re: multibyte-character aware support for function "downcase_truncate_identifier()"
Previous Message Robert Haas 2010-11-23 16:58:51 Re: knngist - 0.8