Re: Postgres and C/C++

From: Doug McNaught <doug(at)wireboard(dot)com>
To: "Brian C(dot) Doyle" <bcdoyle(at)mindspring(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Postgres and C/C++
Date: 2001-07-08 18:01:37
Message-ID: m38zhz5mgu.fsf@belphigor.mcnaught.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Brian C. Doyle" <bcdoyle(at)mindspring(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Paul Tomblin 2001-07-08 18:12:31 How should I phrase this?
Previous Message Brian C. Doyle 2001-07-08 17:27:04 Postgres and C/C++