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 E55BA3A6802 for ; Mon, 13 Dec 2004 02:18:55 +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 21318-05 for ; Mon, 13 Dec 2004 02:18:41 +0000 (GMT) Received: from candle.pha.pa.us (candle.pha.pa.us [207.106.42.251]) by svr1.postgresql.org (Postfix) with ESMTP id 34C863A5820 for ; Mon, 13 Dec 2004 02:18:42 +0000 (GMT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id iBD2IRY28923; Sun, 12 Dec 2004 21:18:27 -0500 (EST) From: Bruce Momjian Message-Id: <200412130218.iBD2IRY28923@candle.pha.pa.us> Subject: Re: ODBC Rewrite In-Reply-To: <20041208032459.GR10437@ns.snowman.net> To: Stephen Frost Date: Sun, 12 Dec 2004 21:18:27 -0500 (EST) Cc: markw@mohawksoft.com, Shachar Shemesh , Tom Lane , pgsql-odbc@postgresql.org X-Mailer: ELM [version 2.4ME+ PL108 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.003 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200412/36 X-Sequence-Number: 4770 Stephen Frost wrote: -- Start of PGP signed section. > * markw@mohawksoft.com (markw@mohawksoft.com) wrote: > > 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. > > Again, it'd probably be better to add the necessary API to libpq so > everyone can benefit from it than to give access to low-level libpq > function externally and have all that code in the ODBC driver which it > wouldn't be available for anyone else... > > Also, again I contend that there'd really be much 'surgery' required to > extend the current libpq API to meet the requirements of, at least, the > ODBC driver. FYI, DBDpg needs similar libpq extensions so other languages can clearly benefit from extending the libpq API. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073