From: jr@i-bucks.com
To: jun liu <jliu_01@yahoo.com>
To: pgsql-interfaces@postgresql.org
Cc: jliu_01@yahoo.com
Subject: Re: interface between c and postgresql
Date: Mon, 12 Mar 2001 13:33:21 -0800
Message-ID: <3.0.6.32.20010312133321.007f6540@mail.i-bucks.com> (raw)
In-Reply-To: <20010308032015.26122.qmail@web12710.mail.yahoo.com>
At 07:20 PM 3/7/01 -0800, jun liu wrote:
>Hi,
>
>i want to query some postgreSQL tables in C program,
>could anybody tell me whether there is such an
>interface between postgreSQL and C ?
yes, there are several interfaces:
libpq is a call level interface.
libpqeasy is a simplified version of the call level interface (on error,
terminate program).
ecpg is the embedded sql C interface
libpq++ is the interface for C++.
there is documentation about these kicking about. some documentation is
also available in Bruce Momjian's book, PostgreSQL Interduction and concepts.
jr
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: jr@i-bucks.com, jliu_01@yahoo.com
Subject: Re: interface between c and postgresql
In-Reply-To: <3.0.6.32.20010312133321.007f6540@mail.i-bucks.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox