Hi Andreas.
It was ascertained.
The timing of constructer of pgConn isn't suitable for it.
It tried to trace it in let's as below.
----------------------------------------------------
pgSet *pgConn::ExecuteSet(const wxString& sql)
{
// Execute the query and get the status.
PGresult *qryRes;
wxLogSql(wxT("Set query (%s:%d): %s"), this->GetHost().c_str(), this->GetPort(), sql.c_str());
if (&conv == &wxConvUTF8)
wxLogSql(wxT("DEBUG: conv=>wxConvUTF8"));
else
if (&conv == &wxConvLibc)
wxLogSql(wxT("DEBUG: conv=>wxConvLibc"));
else
wxLogSql(wxT("DEBUG: conv=>others"));
qryRes = PQexec(conn, sql.mb_str(conv));
-------------------------------------------------------
All results are "DEBUG: conv=>wxConvLibc".
I think how it will be modified.....
any comment?
regards,
Hiroshi Saito
----- Original Message -----
From: "Hiroshi Saito" <saito@inetrt.skcapi.co.jp>
> Hi Andreas.
>
> Hmm..
> It is thought still to be bug on this side.
> Or, wxWindows.
> When the code is analyzed, it seems to be the below.