Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U8qdH-0001Ah-0b for pgsql-odbc@arkaria.postgresql.org; Fri, 22 Feb 2013 11:17:39 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1U8qdF-00083z-VW for pgsql-odbc@arkaria.postgresql.org; Fri, 22 Feb 2013 11:17:38 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U8ov1-0000CC-Dd for pgsql-odbc@postgresql.org; Fri, 22 Feb 2013 09:27:51 +0000 Received: from smtp-outbound-2.vmware.com ([208.91.2.13]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U8ouz-000524-2I for pgsql-odbc@postgresql.org; Fri, 22 Feb 2013 09:27:49 +0000 Received: from sc9-mailhost1.vmware.com (sc9-mailhost1.vmware.com [10.113.161.71]) by smtp-outbound-2.vmware.com (Postfix) with ESMTP id 6A5E728373; Fri, 22 Feb 2013 01:27:47 -0800 (PST) Received: from zcs-prod-ext-mta-1.vmware.com (zcs-prod-ext-mta-1.vmware.com [10.113.62.223]) by sc9-mailhost1.vmware.com (Postfix) with ESMTP id 6527C1897F; Fri, 22 Feb 2013 01:27:47 -0800 (PST) Received: from localhost (localhost.localdomain [127.0.0.1]) by zcs-prod-ext-mta-1.vmware.com (Postfix) with ESMTP id 4A4631219D2; Fri, 22 Feb 2013 01:30:58 -0800 (PST) X-Virus-Scanned: amavisd-new at zcs-prod-ext-mta-1.vmware.com Received: from zcs-prod-ext-mta-1.vmware.com ([127.0.0.1]) by localhost (zcs-prod-ext-mta-1.vmware.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fq5qv5vRcpQ5; Fri, 22 Feb 2013 01:30:58 -0800 (PST) Received: from zcs-prod-ext-mta-1.vmware.com (localhost.localdomain [127.0.0.1]) by zcs-prod-ext-mta-1.vmware.com (Postfix) with ESMTP id 17ED31219D0; Fri, 22 Feb 2013 01:30:58 -0800 (PST) Received: from [192.168.1.90] (unknown [10.113.62.14]) by zcs-prod-ext-mta-1.vmware.com (Postfix) with ESMTPSA; Fri, 22 Feb 2013 01:30:56 -0800 (PST) Message-ID: <51273A0C.3020307@vmware.com> Date: Fri, 22 Feb 2013 11:27:40 +0200 From: Heikki Linnakangas Organization: VMware User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130116 Icedove/10.0.12 MIME-Version: 1.0 To: Hiroshi Inoue CC: pgsql-odbc@postgresql.org, Hiroshi Saito Subject: Re: Source code cleanup References: <50EC64A5.10702@vmware.com> <50EE3C66.1080801@tpf.co.jp> <50EF89A1.7040800@tpf.co.jp> <50EFD75E.3010806@vmware.com> <50F38959.7090904@tpf.co.jp> <50F3BFBC.5010009@vmware.com> <5125E11D.1080804@vmware.com> <5126A22B.5010908@tpf.co.jp> In-Reply-To: <5126A22B.5010908@tpf.co.jp> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -7.6 (-------) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org (cc'ing pgsql-odbc mailing list yet again, I misspelled it earlier..) On 22.02.2013 00:39, Hiroshi Inoue wrote: > HI Heikki, > > (2013/02/21 17:55), Heikki Linnakangas wrote: >> (cc'ing psql-odbc mailing list again, got dropped by accident) >> >> Hi Hiroshi, >> >> Any news on this? Would you like me to prepare a new set of patches with >> those things fixed? > > Sorry for the late reply. > I'm happy if you make new set of patches. Ok, I fixed the couple of bugs you mentioned, rebased, and pushed to the git repository again. See master branch at git@github.com:hlinnaka/psqlodbc.git. Link to the github web interface: https://github.com/hlinnaka/psqlodbc. I separated the regression test suite I wrote to a separate branch, master-with-testcases, for easier review. There's also a third branch in the repository, "upstream", which is a mirror of the current CVS tip. I kept the change that turns the switch- to if-statement in getPrecisionPart() for now (https://github.com/hlinnaka/psqlodbc/commit/1dd3bfb6e6a7f5d1bef49103593178ccc2caf129). You suggested adding a default-case to that instead, which is fine with me as well so feel free to change it at commit, although I find it slightly more readable with "if". - Heikki -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc