Re: [BUGS] BUG #4186: set lc_messages does not work

2008-05-25 Thread Tom Lane
Thomas H [EMAIL PROTECTED] writes:
 Bug reference:  4186
 Logged by:  Thomas H
 Email address:  [EMAIL PROTECTED]
 PostgreSQL version: 8.3.1
 Operating system:   Windows 2003
 Description:set lc_messages does not work
 Details: 

 the patch discussed here [1] that supposedly made the win32 msvc builds use
 lc_locale properly has flaws.

I think a large part of the confusion that's been evidenced in this
thread is because you are submitting a bug report about a patch that is
not in fact in 8.3.1 (and is unlikely ever to appear in 8.3.x at all).
It's unclear what you are really testing: stock 8.3.1?  8.3.1 plus that
patch?  CVS HEAD plus the patch?

regards, tom lane

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


Re: [BUGS] error message psql: expected authentication request from server, but received when using psql to connect remote database

2008-05-25 Thread Tom Lane
TIAN Justin [EMAIL PROTECTED] writes:
 Actually, we don't directly use postgre server,we open TCP connection to
 support postgre wire protocol, so psql client can connect to our
 application,
 I found the problem is in the StartupMessage, when psql client version
 is 8.1.4, the major and minor version in StartupMessage is 1234 and
 5679, not 3 and 0, that is the problem, I want to know whether it is the
 bug of 8.1.4, or I can do some configuration?

Sounds like you need to fix your support of the postgres wire
protocol --- in particular you'd better read up on query cancel,
and it would appear you are unable to send a proper error response
either.

regards, tom lane

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


Re: [BUGS] BUG #4186: set lc_messages does not work

2008-05-25 Thread Thomas H.

From: Tom Lane [EMAIL PROTECTED]


the patch discussed here [1] that supposedly made the win32 msvc builds use
lc_locale properly has flaws.


I think a large part of the confusion that's been evidenced in this
thread is because you are submitting a bug report about a patch that is
not in fact in 8.3.1 (and is unlikely ever to appear in 8.3.x at all).
It's unclear what you are really testing: stock 8.3.1?  8.3.1 plus that
patch?  CVS HEAD plus the patch?


it's the 8.3.1 win32 binary coming from postgresql.org i'm using.

i was digging in the mailing list archives for some answers and found 
the conversation about the patch which i believed to be included in 
8.3.1. sorry for the mess :|


nevertheless the problem/bug exists: changing LC_MESSAGES has no effect 
on the windows boxes, while it works on the non-win32 systems. all i 
really would like is to get english system messages back on our 
non-english win32 servers - like they were pre 8.3.1.


the main reason for this being: the german error messages have non-ascii 
special characters in the error text ('»' and '«') which mess with some 
of our applications (whereas english messages use '').



regards,
thomas


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