Re: Let's use libpq for everything

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>
Cc: Craig Ringer <craig(at)2ndquadrant(dot)com>, "pgsql-odbc(at)postgresql(dot)org" <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: Let's use libpq for everything
Date: 2014-12-24 07:23:43
Message-ID: CAB7nPqQEELm+pOEaq1nG165Mq5jRt9uiPFixB8Wpari23rOayg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

On Tue, Dec 23, 2014 at 5:53 AM, Heikki Linnakangas
<hlinnakangas(at)vmware(dot)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.
Regards,
--
Michael

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Heikki Linnakangas 2014-12-31 13:09:57 Re: Let's use libpq for everything
Previous Message Heikki Linnakangas 2014-12-22 20:53:01 Re: Let's use libpq for everything