Re: Removing support for v1 and v2 protocols?

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Craig Ringer <craig(at)2ndquadrant(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "pgsql-odbc(at)postgresql(dot)org" <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: Removing support for v1 and v2 protocols?
Date: 2014-06-19 07:49:55
Message-ID: CA+OCxoyDqjjDVLK1du=VDgby=F16abSTarXkeGcfs8=mVsa5Bg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

On Thu, Jun 19, 2014 at 4:49 AM, Craig Ringer <craig(at)2ndquadrant(dot)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.

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Craig Ringer 2014-06-19 08:01:29 Re: Removing support for v1 and v2 protocols?
Previous Message Craig Ringer 2014-06-19 06:02:32 Re: Protocol de-synchronisation bug, bogus query sent