Re: OLE DB driver

Поиск
Список
Период
Сортировка
От William ZHANG
Тема Re: OLE DB driver
Дата
Msg-id btno9k$2g8j$1@news.hub.org
обсуждение исходный текст
Ответ на OLE DB driver  (Shachar Shemesh <psql@shemesh.biz>)
Ответы Re: OLE DB driver  (Shachar Shemesh <psql@shemesh.biz>)
Список 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 по дате отправления:

Предыдущее
От: Mathijs Brands
Дата:
Сообщение: Encoding conversions in psql
Следующее
От: Tom Lane
Дата:
Сообщение: Re: libpq thread safety