Re: bug in ODBC Bind messege for SunOS - Mailing list pgsql-odbc

From Hiroshi Inoue
Subject Re: bug in ODBC Bind messege for SunOS
Date
Msg-id 46E5DEFA.2060807@tpf.co.jp
Whole thread Raw
In response to bug in ODBC Bind messege for SunOS  (Zahid Khan <khanzahid235@yahoo.com>)
List 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 by date:

Previous
From: Zahid Khan
Date:
Subject: bug in ODBC Bind messege for SunOS
Next
From: "Hiroshi Saito"
Date:
Subject: Re: python, threads and pgsqlodbc problems