Lists: | pgsql-interfaces |
---|
From: | "dfg" <dfg(at)sdfsd> |
---|---|
To: | pgsql-interfaces(at)postgresql(dot)org |
Subject: | how can I use C++ interface in postgresql? |
Date: | 2001-12-04 10:57:56 |
Message-ID: | 3c0c55cb$1@news.nsu.ru |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-interfaces |
hello,
I'm beginer programmer,please help me.
how can I use C++/C interface in posgresql.
what's main functions should i need,
and what's include headers too.
thanks.
Lexx.
From: | jtv <jtv(at)xs4all(dot)nl> |
---|---|
To: | dfg <dfg(at)www2(dot)us(dot)postgresql(dot)org> |
Cc: | pgsql-interfaces(at)postgresql(dot)org |
Subject: | Re: how can I use C++ interface in postgresql? |
Date: | 2001-12-06 16:45:59 |
Message-ID: | 20011206174559.B536@xs4all.nl |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-interfaces |
On Tue, Dec 04, 2001 at 10:57:56AM -0000, dfg wrote:
> hello,
> I'm beginer programmer,please help me.
> how can I use C++/C interface in posgresql.
> what's main functions should i need,
> and what's include headers too.
You should be able to find some documentation in the postgresql docs, either
in the package or online at http://www.postgresql.org/ (there's libpq, a C
API, and libpq++ which is done in C++).
Alternatively, you could take a look at the C++ frontend I'm currently
writing at http://members.ams.chello.nl/j.vermeulen31/ (look for libpqxx).
The documentation isn't very complete yet (and is still in SGML format only)
but it may help, and the example programs called test*.cc should give you
a good idea of how to get started with your own programs.
Jeroen