Re: OLE DB driver - Mailing list pgsql-hackers

From William ZHANG
Subject Re: OLE DB driver
Date
Msg-id btno9k$2g8j$1@news.hub.org
Whole thread Raw
In response to OLE DB driver  (Shachar Shemesh <psql@shemesh.biz>)
Responses Re: OLE DB driver  (Shachar Shemesh <psql@shemesh.biz>)
List pgsql-hackers
"Shachar Shemesh" <psql@shemesh.biz> wrote:3FFF1607.9090806@shemesh.biz...
> Andreas Pflug wrote:
>
> > I wonder if this could be implemented as a wrapper around libpq. This
> > way, the OLEDB driver would benefit from a proven piece of software.
> >
> > Regards,
> > Andreas
>
> That's what I'm doing. I'm not sure why other drivers didn't do that as
> well (maybe there was no native Windows port of libpq at the time?).

AFAIK, rely on libpq is a fast way but not always convenient.
OLEDB has many features borrowed from ODBC, and it is a
substitute for ODBC. Microsoft is now making ODBC obsolete and
advocating OLEDB instead. You'd better read pgodbc's source
code, too.

>
> My reason is actually that I'm not a great postgres hacker, and I would
> rather rely as little as possible on internal structures and things that
> are likely to change in the future.
>
>                 Shachar
>
> --
> Shachar Shemesh
> Lingnu Open Systems Consulting
> http://www.lingnu.com/
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
>       subscribe-nomail command to majordomo@postgresql.org so that your
>       message can get through to the mailing list cleanly
>




pgsql-hackers by date:

Previous
From: Mathijs Brands
Date:
Subject: Encoding conversions in psql
Next
From: Tom Lane
Date:
Subject: Re: libpq thread safety