Yes,
this is because the PQsetClientEncoding fails because the connection
failed. I've changed the preceeding code to:
// Set client encoding to
Unicode/Ascii
if (PQstatus(conn) == CONNECTION_OK) { #if
wxUSE_UNICODE
wxLogInfo(wxT("Setting
client_encoding to 'UNICODE'"));
...
...
which
takes care of it.
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
- Re: [pgadmin-hackers] pgConn.cpp.patch Dave Page