Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Wxc0J-0006dB-6J for pgsql-odbc@arkaria.postgresql.org; Thu, 19 Jun 2014 13:03:47 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Wxc0H-0007Bq-VL for pgsql-odbc@arkaria.postgresql.org; Thu, 19 Jun 2014 13:03:46 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Wxc0H-0007Bj-28 for pgsql-odbc@postgresql.org; Thu, 19 Jun 2014 13:03:45 +0000 Received: from tamriel.snowman.net ([2001:4830:167b::11]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Wxc0A-00068Z-21 for pgsql-odbc@postgresql.org; Thu, 19 Jun 2014 13:03:43 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id 7CA4B5F7E3; Thu, 19 Jun 2014 09:03:37 -0400 (EDT) Date: Thu, 19 Jun 2014 09:03:37 -0400 From: Stephen Frost To: Dave Page Cc: Craig Ringer , Tom Lane , "pgsql-odbc@postgresql.org" Subject: Re: Removing support for v1 and v2 protocols? Message-ID: <20140619130337.GQ16098@tamriel.snowman.net> References: <53A2507F.808@2ndquadrant.com> <11648.1403147417@sss.pgh.pa.us> <53A25DAC.2080007@2ndquadrant.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EUwkhXZbCcD53YNR" Content-Disposition: inline In-Reply-To: X-Editor: Vim http://www.vim.org/ X-Info: http://www.snowman.net X-Operating-System: Linux/3.11.0-19-generic (x86_64) X-Uptime: 09:02:01 up 71 days, 23:21, 13 users, load average: 0.04, 0.08, 0.06 User-Agent: Mutt/1.5.21 (2010-09-15) X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org --EUwkhXZbCcD53YNR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Dave Page (dpage@pgadmin.org) wrote: > On Thu, Jun 19, 2014 at 4:49 AM, Craig Ringer wro= te: > > 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. >=20 > 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 --EUwkhXZbCcD53YNR Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJTot+pAAoJEO1sijiDR2RVft8P/1Y4SijtjVuJWu1xhZN6L3Az HCmZbrmlvDeHICudCFE+Iq656Fxyo1gupwfwmciBlchRhE4UzXPZF2M1j0clwfBf MvQJ6rjlwzrWAFXI8eeM4aHi8byiqkDkfteQHmKD5sKMZbJ5r4K7WfWCn0eo6Ep0 xO1peBCFkXMdOW5+6GwTmDJkEy4+YhylM6DRHDA8WxMp9yKnE/Ah0mR8n7YbER3e W7ZYhWXGDrPlHm6rnrPANuTJlwoDdHt9aCKXqGnCztf4H8QclxGJrCY9I/yz3S1Q LR32dyD+rc4zlOCz9V7Rcu/hjBARcd7F+yKYqacymtnVotmKVF91vQEm8c3lR0XF 2Kf3EktUUPaN0AWxhGKTseQbH6eXW+U4bV0cnoNI/cVdv1LzDcMKAD73OJLLEp8q a0yz8z7YhYU0zY9veujEsRI4bpWgksFaWLfZ0Vad/UseV/w4q3Y9lwEzCYgz/aeS AgrzrK6pMjSiC/GF8KwOTrZmsmqmEyvzmqIf6f55iZpnsEPyi4P016gaUV1CArYO VYuC9jXnpjJLXYMBKItBobltqMFDBSy+7P/FYQpLEIoyhaGfqZcB0k7M8fHeaO0x EuWDFiPt62Q12IVPzjk8yf0L+iMlRayr0nWt+M3Pwvi0FDJaW98hBcxYgwkGb6Ak o9/05sAavPVH4eKg5Zdm =QQL/ -----END PGP SIGNATURE----- --EUwkhXZbCcD53YNR--