Skip site navigation (1) Skip section navigation (2)

Re: how can I use C++ interface in postgresql?

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: (view raw, whole thread or download thread mbox)
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 (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 (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.


In response to

pgsql-interfaces by date

Next:From: altaDate: 2001-12-06 17:08:54
Subject: HOWTO: PostgreSQL & Perl DBD on SuSE 7.3
Previous:From: Tim BarnardDate: 2001-12-06 15:51:42
Subject: Re: C interface problem

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group