From: Heikki Linnakangas <hlinnakangas@vmware.com>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: Craig Ringer <craig@2ndquadrant.com>
Cc: pgsql-odbc@postgresql.org <pgsql-odbc@postgresql.org>
Subject: Re: Let's use libpq for everything
Date: Wed, 31 Dec 2014 15:09:57 +0200
Message-ID: <54A3F5A5.8010300@vmware.com> (raw)
In-Reply-To: <CAB7nPqQEELm+pOEaq1nG165Mq5jRt9uiPFixB8Wpari23rOayg@mail.gmail.com>
References: <5457B9E9.5040403@vmware.com>
<546AEECB.1030602@2ndquadrant.com>
<54774DCA.2020107@vmware.com>
<CAB7nPqSc7M_wJYjZEfQ7QyBg1mbo3_Dhg0Jeiqx7HpO+46HFTA@mail.gmail.com>
<5487215E.7040909@vmware.com>
<CAB7nPqRKR52mmr4aWiubJOeRTbO-7qr8Tv7vYjzg6ncNzTJU_Q@mail.gmail.com>
<549884AD.2060805@vmware.com>
<CAB7nPqQEELm+pOEaq1nG165Mq5jRt9uiPFixB8Wpari23rOayg@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>
On 12/24/2014 09:23 AM, Michael Paquier wrote:
> On Tue, Dec 23, 2014 at 5:53 AM, Heikki Linnakangas
> <hlinnakangas@vmware.com> 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
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: hlinnakangas@vmware.com, michael.paquier@gmail.com, craig@2ndquadrant.com
Subject: Re: Let's use libpq for everything
In-Reply-To: <54A3F5A5.8010300@vmware.com>
References: <5457B9E9.5040403@vmware.com> <546AEECB.1030602@2ndquadrant.com> <54774DCA.2020107@vmware.com> <CAB7nPqSc7M_wJYjZEfQ7QyBg1mbo3_Dhg0Jeiqx7HpO+46HFTA@mail.gmail.com> <5487215E.7040909@vmware.com> <CAB7nPqRKR52mmr4aWiubJOeRTbO-7qr8Tv7vYjzg6ncNzTJU_Q@mail.gmail.com> <549884AD.2060805@vmware.com> <CAB7nPqQEELm+pOEaq1nG165Mq5jRt9uiPFixB8Wpari23rOayg@mail.gmail.com> <54A3F5A5.8010300@vmware.com>
* 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