pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephen Frost <sfrost@snowman.net>
To: Dave Page <dpage@pgadmin.org>
Cc: Craig Ringer <craig@2ndquadrant.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-odbc@postgresql.org <pgsql-odbc@postgresql.org>
Subject: Re: Removing support for v1 and v2 protocols?
Date: Thu, 19 Jun 2014 09:03:37 -0400
Message-ID: <20140619130337.GQ16098@tamriel.snowman.net> (raw)
In-Reply-To: <CA+OCxoyDqjjDVLK1du=VDgby=F16abSTarXkeGcfs8=mVsa5Bg@mail.gmail.com>
References: <53A2507F.808@2ndquadrant.com>
	<11648.1403147417@sss.pgh.pa.us>
	<53A25DAC.2080007@2ndquadrant.com>
	<CA+OCxoyDqjjDVLK1du=VDgby=F16abSTarXkeGcfs8=mVsa5Bg@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

* Dave Page (dpage@pgadmin.org) wrote:
> On Thu, Jun 19, 2014 at 4:49 AM, Craig Ringer <craig@2ndquadrant.com> wrote:
> > I'm a bit lost as to why psqlODBC does so much of this its self, instead
> > of just using libpq. PgJDBC does it because it wants to be a JDBC Type 4
> > driver, i.e. all Java code, so it can't talk to libpq over JNI/JNA. That
> > concern does not apply to psqlODBC, which in fact already links to libpq
> > but doesn't seem to use it for protocol handling.
> 
> We tried to port psqlODBC to libpq 5 - 10 years ago. It didn't go
> well, and eventually we went back to the original code.

As I recall, one big issue about porting to libpq was the lack of a
streaming-style capability without using cursors.  We have the 'single
row mode' option in libpq now which might address that.  I'm sure there
were other issues but I don't recall them offhand.

	Thanks,

		Stephen

Attachments:

  signature.asc (application/pgp-signature, 818B) download

view thread (16+ messages)  latest in thread

Message-ID: <20140619130337.GQ16098@tamriel.snowman.net>
Permalink:  ../20140619130337.GQ16098@tamriel.snowman.net/
Also on:    postgresql.org/message-id/20140619130337.GQ16098@tamriel.snowman.net

 · 

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: sfrost@snowman.net, dpage@pgadmin.org, craig@2ndquadrant.com, tgl@sss.pgh.pa.us
  Subject: Re: Removing support for v1 and v2 protocols?
  In-Reply-To: <20140619130337.GQ16098@tamriel.snowman.net>
  References: <53A2507F.808@2ndquadrant.com> <11648.1403147417@sss.pgh.pa.us> <53A25DAC.2080007@2ndquadrant.com> <CA+OCxoyDqjjDVLK1du=VDgby=F16abSTarXkeGcfs8=mVsa5Bg@mail.gmail.com> <20140619130337.GQ16098@tamriel.snowman.net>

* 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