pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
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: Tue, 9 Dec 2014 18:20:46 +0200
Message-ID: <5487215E.7040909@vmware.com> (raw)
In-Reply-To: <CAB7nPqSc7M_wJYjZEfQ7QyBg1mbo3_Dhg0Jeiqx7HpO+46HFTA@mail.gmail.com>
References: <5457B9E9.5040403@vmware.com>
	<546AEECB.1030602@2ndquadrant.com>
	<54774DCA.2020107@vmware.com>
	<CAB7nPqSc7M_wJYjZEfQ7QyBg1mbo3_Dhg0Jeiqx7HpO+46HFTA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

On 11/28/2014 09:09 AM, Michael Paquier wrote:
> On Fri, Nov 28, 2014 at 1:14 AM, Heikki Linnakangas
> <hlinnakangas@vmware.com> wrote:
>> Overall, I think this looks *very* good. I'm actually in favor of committing
>> this fairly soon, in the next week or so, so that the 09.04.0000 version
>> would use libpq-only code. Any objections?
> Not really, that's quite a lot of cleanup related to the socket handling!
>
> Here are some comments:
> 1) statement.c has a NOTUSED block with SOCK_get_int still used. I
> think you should simply remove it.
> 2) configure.ac, as well as the windows installers still have
> references to USE_LIBPQ, USE_GSS and USE_SSPI
> 3) There are traces of USE_SSPI in connection.c and dlg_wingui.c
> 4) There are some whitespaces (expected with such a large patch btw)

Thanks, fixed all of these.

> 5) In lobj.c, there are mentions of using lo_lseek64 and lo_tell64. I
> am not sure that this is a good thing at this state: those functions
> have been added in 9.3 and we still have many users with PG <= 9.2. It
> may be better to add a note about updating to those functions when the
> minimum support requirement is 9.3.

Well, it's just a comment.

> 6) I am getting many regression failures after applying this patch and
> running the tests on OSX, please see attached.

Attached is a new version [1], with a lot of small fixes here and there. 
It passes all the regression tests for me. Can you try again with this 
version? If it's still failing on OS X, will need to investigate.

[1] Also available at 
https://github.com/hlinnaka/psqlodbc/tree/libpq-integration4.

- Heikki

-- 
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc

Attachments:

  libpq-integration4-2.patch.gz (application/gzip, 91.3K) download

view thread (11+ messages)  latest in thread

Message-ID: <5487215E.7040909@vmware.com>
Permalink:  ../5487215E.7040909@vmware.com/
Also on:    postgresql.org/message-id/5487215E.7040909@vmware.com

 · 

reply

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: <5487215E.7040909@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>

* 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