Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Y6J2q-0006jJ-AE for pgsql-odbc@arkaria.postgresql.org; Wed, 31 Dec 2014 13:10:36 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Y6J2p-000331-CN for pgsql-odbc@arkaria.postgresql.org; Wed, 31 Dec 2014 13:10:35 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Y6J2o-00032v-S3 for pgsql-odbc@postgresql.org; Wed, 31 Dec 2014 13:10:34 +0000 Received: from smtp-outbound-2.vmware.com ([208.91.2.13]) by magus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1Y6J2f-0004G5-FT for pgsql-odbc@postgresql.org; Wed, 31 Dec 2014 13:10:33 +0000 Received: from sc9-mailhost2.vmware.com (sc9-mailhost2.vmware.com [10.113.161.72]) by smtp-outbound-2.vmware.com (Postfix) with ESMTP id 0F877289B7; Wed, 31 Dec 2014 05:10:20 -0800 (PST) Received: from EX13-CAS-011.vmware.com (EX13-CAS-011.vmware.com [10.113.191.63]) by sc9-mailhost2.vmware.com (Postfix) with ESMTP id 092E7B1CCB; Wed, 31 Dec 2014 05:10:20 -0800 (PST) Received: from EX13-MBX-024.vmware.com (10.113.191.44) by EX13-MBX-009.vmware.com (10.113.191.29) with Microsoft SMTP Server (TLS) id 15.0.913.22; Wed, 31 Dec 2014 05:10:19 -0800 Received: from [192.168.1.90] (10.113.160.246) by EX13-MBX-024.vmware.com (10.113.191.44) with Microsoft SMTP Server (TLS) id 15.0.913.22; Wed, 31 Dec 2014 05:10:18 -0800 Message-ID: <54A3F5A5.8010300@vmware.com> Date: Wed, 31 Dec 2014 15:09:57 +0200 From: Heikki Linnakangas Organization: VMware User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.3.0 MIME-Version: 1.0 To: Michael Paquier CC: Craig Ringer , "pgsql-odbc@postgresql.org" Subject: Re: Let's use libpq for everything References: <5457B9E9.5040403@vmware.com> <546AEECB.1030602@2ndquadrant.com> <54774DCA.2020107@vmware.com> <5487215E.7040909@vmware.com> <549884AD.2060805@vmware.com> In-Reply-To: Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.113.160.246] X-ClientProxiedBy: EX13-CAS-013.vmware.com (10.113.191.65) To EX13-MBX-024.vmware.com (10.113.191.44) X-Pg-Spam-Score: -6.9 (------) 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 On 12/24/2014 09:23 AM, Michael Paquier wrote: > On Tue, Dec 23, 2014 at 5:53 AM, Heikki Linnakangas > wrote: >> I've merged this with latest changes in the master branch, and did some >> error handling fixes. Latest version is again attached here, and also >> available in github >> (https://github.com/hlinnaka/psqlodbc/tree/libpq-integration4). > > Some minor comments after scanning the code: > 1) The description below should be prepareParametersNoDesc. > +/* > + * Process the original SQL query. > + */ > +RETCODE prepareParametersNoDesc(StatementClass *stmt) > +{ > + QueryParse query_org, *qp; > + QueryBuild query_crt, *qb; > + > +inolog("prepareParametersNoSync\n"); > 2) In psqlodbc.vcproj, you can safely remove the references to USE_LIBPQ. > 3) s/Extrace/Extract > ISTM that this code is clean, I haven't found flaws in the new logic > where code is replaced with libpq stuff. Thanks, fixed those. Well, I think this is about as much testing and review that we're going to get for this patch before commit. I have no doubt that there are bugs, or subtle differences in behaviour that might cause problems for some, but let's fix them as we bump into them. So, committed. - Heikki -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc