I think it's
because libpq is clever enough to keep the 'real' error rather than just
say that the encoding couldn't be set. This makes sense if you think about it,
because normally the client encoding will fail to get set if an invaid encoding
is chosen - this can only be discovered when the connection is
present.
No. If
it gets a real error, then you will see it. Try changing the 'UNICODE' to
'SOMETHINGELSE' and logging in. Note that in this case you may still see 2
sequential error messages - 1 as the master connection is established, then a
second for whichever database auto-reopens (and of course, subsequent db
opens).
Regards, Dave.
|
Title: Message
- [pgadmin-hackers] pgConn.cpp.patch Adam H . Pendleton
- Re: [pgadmin-hackers] pgConn.cpp.patch Dave Page
- Re: [pgadmin-hackers] pgConn.cpp.patch Adam H. Pendleton
- Re: [pgadmin-hackers] pgConn.cpp.patch Dave Page
- Re: [pgadmin-hackers] pgConn.cpp.patch Adam H. Pendleton
- Dave Page