Received: from localhost (unknown [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 29CFE9F9A6F for ; Mon, 10 Sep 2007 15:54:35 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 39130-02 for ; Mon, 10 Sep 2007 15:54:23 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from web54507.mail.re2.yahoo.com (web54507.mail.re2.yahoo.com [206.190.49.157]) by postgresql.org (Postfix) with SMTP id DCCCD9F9A54 for ; Mon, 10 Sep 2007 15:54:24 -0300 (ADT) Received: (qmail 75252 invoked by uid 60001); 10 Sep 2007 18:54:21 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=X5FHFzlyrCal5D4pGjthiHqimFZGMujEuK4Yjt0IlDtV4AByd2QEkA6W5jKQ5x3UbnFgdKfWbbGAwUMisppqREKzvAGhhMN7PVEQPndSVodaS1MEuqZhrEdyPbO1ox4OoIjKoOcpqGP3UaKZ+WBTpGAYvtXtliCZrI6Ea9iDTq4=; X-YMail-OSG: AEPUgdoVM1k7bKBHAkioahF6ILhmep8zr1a3Na8asUk9PaC3o27eKnbE3_cdiOB.Um6Dr5zphhWWGlUnJoGxgNPeSf8Bme2pleUkwTVXa_2ybUmtwubtj1yEjqgdfw-- Received: from [203.215.160.146] by web54507.mail.re2.yahoo.com via HTTP; Mon, 10 Sep 2007 11:54:21 PDT Date: Mon, 10 Sep 2007 11:54:21 -0700 (PDT) From: Zahid Khan Subject: bug in ODBC Bind messege for SunOS To: pgsql-odbc@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <809641.74765.qm@web54507.mail.re2.yahoo.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.116 tagged_above=0 required=5 tests=AWL=0.115, BAYES_50=0.001 X-Spam-Level: X-Archive-Number: 200709/6 X-Sequence-Number: 9169 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. *int* type can be the quick fix -:) Thanks, Zahid K. ____________________________________________________________________________________ Need a vacation? Get great deals to amazing places on Yahoo! Travel. http://travel.yahoo.com/