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