Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id B01891337B4E for ; Wed, 24 Nov 2010 18:07:23 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 60283-01 for ; Wed, 24 Nov 2010 22:07:16 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sd.tpf.co.jp (sd.tpf.co.jp [210.161.239.34]) by mail.postgresql.org (Postfix) with SMTP id AFEED1337B34 for ; Wed, 24 Nov 2010 18:07:15 -0400 (AST) Received: (qmail 2843 invoked by uid 512); 24 Nov 2010 22:07:13 -0000 X-Authentication: inoue was authenticated by sd.tpf.co.jp at 24 Nov 2010 22:07:13 -0000 Received: from unknown (HELO ?192.168.24.51?) (183.76.21.68) by sd.tpf.co.jp with SMTP; 24 Nov 2010 22:07:13 -0000 Message-ID: <4CED8C8B.4090900@tpf.co.jp> Date: Thu, 25 Nov 2010 07:07:07 +0900 From: Hiroshi Inoue User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; ja; rv:1.8.1.24) Gecko/20100228 Thunderbird/2.0.0.24 Mnenhy/0.7.6.0 MIME-Version: 1.0 To: Taizo ITO CC: pgsql-odbc@postgresql.org Subject: Re: Problem when fetching data of BIT column. References: <4CEC93F0.3050405@hde.co.jp> In-Reply-To: <4CEC93F0.3050405@hde.co.jp> Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=1.657 tagged_above=-10 required=5 tests=BAYES_20=-0.001, DNS_FROM_RFC_BOGUSMX=1.668, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: * X-Archive-Number: 201011/33 X-Sequence-Number: 10518 Hi, Thanks for the report. I would commit your patch to cvs. regards, Hiroshi Inoue (2010/11/24 13:26), Taizo ITO wrote: > Hi alls, > > I got a error when trying to fetch data from BIT column. > The problem is that last 4 bits of data are filled with null. > > I created a patch that fixes the bug. > Please commit the attached patch to trunk. > > Regards, > Taizo ITO