pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
interface between c and postgresql
2+ messages / 2 participants
[nested] [flat]

* interface between c and postgresql
@ 2001-03-08 03:20 jun liu <jliu_01@yahoo.com>
  2001-03-12 21:33 ` Re: interface between c and postgresql jr@i-bucks.com
  0 siblings, 1 reply; 2+ messages in thread

From: jun liu @ 2001-03-08 03:20 UTC (permalink / raw)
  To: pgsql-interfaces; +Cc: jliu_01@yahoo.com

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 ?

thanks in advance.


--jun



__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: interface between c and postgresql
  2001-03-08 03:20 interface between c and postgresql jun liu <jliu_01@yahoo.com>
@ 2001-03-12 21:33 ` jr@i-bucks.com
  0 siblings, 0 replies; 2+ messages in thread

From: jr@i-bucks.com @ 2001-03-12 21:33 UTC (permalink / raw)
  To: jun liu <jliu_01@yahoo.com>; pgsql-interfaces; +Cc: jliu_01@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







^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2001-03-12 21:33 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-03-08 03:20 interface between c and postgresql jun liu <jliu_01@yahoo.com>
2001-03-12 21:33 ` jr@i-bucks.com

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