Re: [BUGS] Degrade(character conversion problem) pga3?

From: "Hiroshi Saito" <saito(at)inetrt(dot)skcapi(dot)co(dot)jp>
To: "Andreas Pflug" <pgadmin(at)pse-consulting(dot)de>
Cc: <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: [BUGS] Degrade(character conversion problem) pga3?
Date: 2003-10-09 04:59:45
Message-ID: 037201c38e22$28fda690$1f324d80@w2k
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers pgsql-bugs

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(at)inetrt(dot)skcapi(dot)co(dot)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.

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Andreas Pflug 2003-10-09 09:46:00 Re: [BUGS] Degrade(character conversion problem)
Previous Message Hiroshi Saito 2003-10-08 18:32:49 Re: [BUGS] Degrade(character conversion problem) pga3?

Browse pgsql-bugs by date

  From Date Subject
Next Message Gareth Boden 2003-10-09 05:38:38 Re: Unpredictable signal 11 crashes on Mac OS X (SOLVED[?])
Previous Message Branden R. Williams 2003-10-09 00:51:11 Re: Bug Report