pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: markw@mohawksoft.com
To: pgsql-odbc@postgresql.org
Subject: ODBC Rewrite
Date: Tue, 7 Dec 2004 09:15:45 -0500 (EST)
Message-ID: <16716.24.91.171.78.1102428945.squirrel@mail.mohawksoft.com> (raw)

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?



view thread (13+ messages)  latest in thread

Message-ID: <16716.24.91.171.78.1102428945.squirrel@mail.mohawksoft.com>
Permalink:  ../16716.24.91.171.78.1102428945.squirrel@mail.mohawksoft.com/
Also on:    postgresql.org/message-id/16716.24.91.171.78.1102428945.squirrel@mail.mohawksoft.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: markw@mohawksoft.com
  Subject: Re: ODBC Rewrite
  In-Reply-To: <16716.24.91.171.78.1102428945.squirrel@mail.mohawksoft.com>
  References: <16716.24.91.171.78.1102428945.squirrel@mail.mohawksoft.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox