Re: Postgres and C/C++

Поиск
Список
Период
Сортировка
От Doug McNaught
Тема Re: Postgres and C/C++
Дата
Msg-id m38zhz5mgu.fsf@belphigor.mcnaught.org
обсуждение исходный текст
Ответ на Postgres and C/C++  ("Brian C. Doyle" <bcdoyle@mindspring.com>)
Список pgsql-general
"Brian C. Doyle" <bcdoyle@mindspring.com> writes:

> Where would I find examples of some C files that connect to a
> postgresql db I am just starting out with c and know Postgresql
> rather well and have done a lot of development with PHP.
>
> The interface I am trying to create is in windows with Postgresql in linux.

Then you'll probably need to install the PG ODBC driver and learn the
ODBC interface.  The nice thing about that is that it works with
pretty much any database, so you can switch to Sybase or Oracle or
whatever quite easily (not that you'd want to, of course ;)

There should be plenty of ODBC programming info on the web.

-Doug
--
The rain man gave me two cures; he said jump right in,
The first was Texas medicine--the second was just railroad gin,
And like a fool I mixed them, and it strangled up my mind,
Now people just get uglier, and I got no sense of time...          --Dylan

В списке pgsql-general по дате отправления:

Предыдущее
От: "Brian C. Doyle"
Дата:
Сообщение: Postgres and C/C++
Следующее
От: Paul Tomblin
Дата:
Сообщение: How should I phrase this?