Re: interface between c and postgresql - Mailing list pgsql-interfaces

From jr@i-bucks.com
Subject Re: interface between c and postgresql
Date
Msg-id 3.0.6.32.20010312133321.007f6540@mail.i-bucks.com
Whole thread Raw
In response to interface between c and postgresql  (jun liu <jliu_01@yahoo.com>)
List pgsql-interfaces
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






pgsql-interfaces by date:

Previous
From: Peter Mount
Date:
Subject: Re: Compiling JDBC - problem
Next
From: Stephane Pinel
Date:
Subject: Libpq for the MacOS