Re: NPE in psqlodbc30a.dll!PgDtc_set_property caused by pgendlista.dll!IAsyncPG::RequestExec

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: NPE in psqlodbc30a.dll!PgDtc_set_property caused by pgendlista.dll!IAsyncPG::RequestExec
Дата
Msg-id 539C12D4.8030503@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: NPE in psqlodbc30a.dll!PgDtc_set_property caused by pgendlista.dll!IAsyncPG::RequestExec  ("Inoue, Hiroshi" <inoue@tpf.co.jp>)
Список pgsql-odbc
On 06/13/2014 11:52 PM, Inoue, Hiroshi wrote:
>
> Oops you are right.
> Anyway it would take some time to fix it.
> I would have to remember the code first.

Yeah, I can imagine you don't poke around in that bit of the code a lot.

The Dtc_set_property call looks like it's just simple cleanup, so I'm
inclined to just shove it in an } else { } block. The cleanup performed
makes no sense if the connection has already been closed.

--
 Craig Ringer                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


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

Предыдущее
От: Walter Couto
Дата:
Сообщение: Re: Re: Inconsistency between JDBC and ODBC drivers when dealing with TIMESTAMP WITH TIME ZONE
Следующее
От: "Inoue, Hiroshi"
Дата:
Сообщение: Re: Build failure with VS 2012 due to uninitialized pointers