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 348D23A6B8D for ; Fri, 10 Dec 2004 19:42:04 +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 15973-08 for ; Fri, 10 Dec 2004 19:41:27 +0000 (GMT) Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by svr1.postgresql.org (Postfix) with ESMTP id 945973A9BCC for ; Fri, 10 Dec 2004 18:30:43 +0000 (GMT) Received: from outland.mohawksoft.com (unknown [64.46.156.80]) by svr4.postgresql.org (Postfix) with ESMTP id 35CD65B0474 for ; Tue, 7 Dec 2004 21:34:17 +0000 (GMT) Received: (from mohawk@localhost) by outland.mohawksoft.com (8.11.6/8.11.6) id iB7Ltdg27348; Tue, 7 Dec 2004 16:55:39 -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 16:55:39 -0500 (EST) Message-ID: <16602.24.91.171.78.1102456539.squirrel@mail.mohawksoft.com> In-Reply-To: <41B61F90.6070206@shemesh.biz> References: <16716.24.91.171.78.1102428945.squirrel@mail.mohawksoft.com> <20041207140239.GO10437@ns.snowman.net> <16608.24.91.171.78.1102430134.squirrel@mail.mohawksoft.com> <20041207141638.GP10437@ns.snowman.net> <15393.1102433545@sss.pgh.pa.us> <41B61F90.6070206@shemesh.biz> Date: Tue, 7 Dec 2004 16:55:39 -0500 (EST) Subject: Re: ODBC Rewrite To: "Shachar Shemesh" Cc: "Tom Lane" , "Stephen Frost" , markw@mohawksoft.com, 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/34 X-Sequence-Number: 4768 > Tom Lane wrote: > >>Stephen Frost writes: >> >> >>>That's not particularly relevant- the question is if the existing libpq >>>API is sufficient for the ODBC driver or not. >>> >>> >> >>And even more to the point, whether extending it wouldn't be a better >>answer than writing a whole new API (and new library?). There are >>definitely features of the V3 protocol that are not accessible through >>libpq at the moment, but that is due to lack of time to add appropriate >>API to libpq, not any fundamental objection to extending libpq. >> >> regards, tom lane >> >> >> > Can you list them, please? > > Having based OLE DB on libpq, it would be nice to find that instead of > working hard to achieve some stuff via different SQL queries, that I can > just extend libpq to support easier handling. > > In other words, I may find that it is easier to implement certain stuff > in libpq rather than OLE DB. ODBC may be in the same position. This way, > everybody win. This is why I suggested either creating a new low level API library on which the linkes of ODBC, libpq, and I guess an OLE DB driver would be built, or perform an amount of surgery the existing libpq and isolate and expose various operations to a normalized API strategy.