Re: bug in ODBC Bind messege for SunOS

Поиск
Список
Период
Сортировка
От Hiroshi Inoue
Тема Re: bug in ODBC Bind messege for SunOS
Дата
Msg-id 46E5DEFA.2060807@tpf.co.jp
обсуждение исходный текст
Ответ на bug in ODBC Bind messege for SunOS  (Zahid Khan <khanzahid235@yahoo.com>)
Список pgsql-odbc
Zahid Khan wrote:
> Hi ,
>
>   Going through the code of psqlODBC i suspect a bug
> in bind messege function  BuildBindRequest() for
> SunOS(64bit).
>
> I found netleng is declared with size_t and the sizeof
> size_t is of eight byte on SunOS 64bit whereas PG
> protocol expect 4 bytes for legth over the network.

Seems you are right.
I would commit the fix tonight.

Thanks.
Hiroshi Inoue


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

Предыдущее
От: Zahid Khan
Дата:
Сообщение: bug in ODBC Bind messege for SunOS
Следующее
От: "Hiroshi Saito"
Дата:
Сообщение: Re: python, threads and pgsqlodbc problems