Re: bug in ODBC Bind messege for SunOS

From: Hiroshi Inoue <inoue(at)tpf(dot)co(dot)jp>
To: Zahid Khan <khanzahid235(at)yahoo(dot)com>
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: bug in ODBC Bind messege for SunOS
Date: 2007-09-11 00:19:06
Message-ID: 46E5DEFA.2060807@tpf.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message Hiroshi Saito 2007-09-11 01:37:43 Re: python, threads and pgsqlodbc problems
Previous Message Zahid Khan 2007-09-10 18:54:21 bug in ODBC Bind messege for SunOS