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

Re: interface between c and postgresql

From: jr(at)i-bucks(dot)com
To: jun liu <jliu_01(at)yahoo(dot)com>, pgsql-interfaces(at)postgresql(dot)org
Cc: jliu_01(at)yahoo(dot)com
Subject: Re: interface between c and postgresql
Date: 2001-03-12 21:33:21
Message-ID: 3.0.6.32.20010312133321.007f6540@mail.i-bucks.com (view raw or flat)
Thread:
Lists: 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





In response to

pgsql-interfaces by date

Next:From: Stephane PinelDate: 2001-03-12 22:09:37
Subject: Libpq for the MacOS
Previous:From: Peter MountDate: 2001-03-12 20:15:01
Subject: Re: Compiling JDBC - problem

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