X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 6F64B3A55C9 for ; Wed, 1 Dec 2004 14:41:10 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 36433-03 for ; Wed, 1 Dec 2004 14:41:00 +0000 (GMT) Received: from outland.mohawksoft.com (unknown [64.46.156.80]) by svr1.postgresql.org (Postfix) with ESMTP id 73CD73A55BB for ; Wed, 1 Dec 2004 14:41:01 +0000 (GMT) Received: (from mohawk@localhost) by outland.mohawksoft.com (8.11.6/8.11.6) id iB1F1m329715; Wed, 1 Dec 2004 10:01:48 -0500 From: markw@mohawksoft.com X-Authentication-Warning: outland.mohawksoft.com: mohawk set sender to markw@mohawksoft.com using -f Received: from 24.91.171.78 (SquirrelMail authenticated user markw) by mail.mohawksoft.com with HTTP; Wed, 1 Dec 2004 10:01:48 -0500 (EST) Message-ID: <16614.24.91.171.78.1101913308.squirrel@mail.mohawksoft.com> In-Reply-To: References: Date: Wed, 1 Dec 2004 10:01:48 -0500 (EST) Subject: Re: New ODBC driver To: "Dave Page" Cc: pgsql-odbc@postgresql.org User-Agent: SquirrelMail/1.4.2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.178 tagged_above=0 required=5 tests=NO_REAL_NAME X-Spam-Level: X-Archive-Number: 200412/6 X-Sequence-Number: 4740 > > >> -----Original Message----- >> From: pgsql-odbc-owner@postgresql.org >> [mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of >> markw@mohawksoft.com >> Sent: 01 December 2004 13:50 >> To: pgsql-odbc@postgresql.org >> Subject: [ODBC] New ODBC driver >> >> What would be the best way to go about re-writing the ODBC >> driver to use libpq? (I haven't looked at the code in years, >> the last time I looked at it was to find a memory leak.) >> >> Is it possible to do it in stages? >> >> Is the transport sufficiently separated to do a quick change >> to use libpq as the transport, and then gradually use more and more? >> >> My only concern would be that a re-write would re-break a lot >> of functionality. > > I haven't looked at it in depth, but I think you will essentially just > need to rewrite connection.c as a libpq wrapper. > > I don't think it would be realistic to mix the two approaches though - > if only because they couldn't share a single database connection. Why is this an issue? Why not create multiple connections? > > Regards, Dave.