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 20DD93A61DD for ; Tue, 7 Dec 2004 13:53:21 +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 72392-10 for ; Tue, 7 Dec 2004 13:53:15 +0000 (GMT) Received: from outland.mohawksoft.com (unknown [64.46.156.80]) by svr1.postgresql.org (Postfix) with ESMTP id 2FD973A61DA for ; Tue, 7 Dec 2004 13:53:17 +0000 (GMT) Received: (from mohawk@localhost) by outland.mohawksoft.com (8.11.6/8.11.6) id iB7EFkR21755; Tue, 7 Dec 2004 09:15:46 -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; Tue, 7 Dec 2004 09:15:45 -0500 (EST) Message-ID: <16716.24.91.171.78.1102428945.squirrel@mail.mohawksoft.com> Date: Tue, 7 Dec 2004 09:15:45 -0500 (EST) Subject: ODBC Rewrite To: 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=AWL, NO_REAL_NAME X-Spam-Level: X-Archive-Number: 200412/22 X-Sequence-Number: 4756 I have been thinking about the ODBC driver, I know you guys know a lot more about it than I do, but I gather that the problem with it is that it does not rely on the core PostgreSQL libraries. Which means that it needs a lot of work when the PostgreSQL project makes a protocol change. Looking at both ODBC and libpq and I think that the difference is that libpq aims to make PostgreSQL interfacing easy, while ODBC strives to be a comprehensive SQL interface. 99% of what will be done with the ODBC interface will be simple SQLAllocStmt, SQLPrepare, and SQLExecute. This difference, I think anyways, makes the libpq API a poor choice for the foundation of the ODBC driver. What is needed is a lower level PostgreSQL interface library. Maybe it is based on libpq, making internal routines public, maybe it is a new development, either way, I think both ODBC and HACKERS should cooperate on a low level interface on which the ODBC driver can be based. I also think with a solid defined project with a tangible outcome will be more attrictive to new developers than does being a bugbitch. What do you think?