From: Hiroshi Inoue <inoue@tpf.co.jp>
To: Zahid Khan <khanzahid235@yahoo.com>
Cc: pgsql-odbc@postgresql.org
Subject: Re: bug in ODBC Bind messege for SunOS
Date: Tue, 11 Sep 2007 09:19:06 +0900
Message-ID: <46E5DEFA.2060807@tpf.co.jp> (raw)
In-Reply-To: <809641.74765.qm@web54507.mail.re2.yahoo.com>
References: <809641.74765.qm@web54507.mail.re2.yahoo.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: inoue@tpf.co.jp, khanzahid235@yahoo.com
Subject: Re: bug in ODBC Bind messege for SunOS
In-Reply-To: <46E5DEFA.2060807@tpf.co.jp>
References: <809641.74765.qm@web54507.mail.re2.yahoo.com> <46E5DEFA.2060807@tpf.co.jp>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox