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

Поиск
Список
Период
Сортировка
От Hiroshi Saito
Тема Re: [BUGS] Degrade(character conversion problem) pga3?
Дата
Msg-id 037201c38e22$28fda690$1f324d80@w2k
обсуждение исходный текст
Ответ на Degrade(character conversion problem) pga3?  ("Hiroshi Saito" <saito@inetrt.skcapi.co.jp>)
Ответы Re: [BUGS] Degrade(character conversion problem)  (Andreas Pflug <pgadmin@pse-consulting.de>)
Список pgadmin-hackers
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.


В списке pgadmin-hackers по дате отправления:

Предыдущее
От: "Hiroshi Saito"
Дата:
Сообщение: Re: [BUGS] Degrade(character conversion problem) pga3?
Следующее
От: Andreas Pflug
Дата:
Сообщение: Re: [BUGS] Degrade(character conversion problem)