Re: postgres library simailar to mysql.h

From: Michael Fuhr <mfuhr+pgsql-novice(at)fuhr(dot)org>
To: Chris <codle(at)valuelinx(dot)net>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: postgres library simailar to mysql.h
Date: 2003-12-17 21:32:26
Message-ID: 20031217143226.A28065@quality.qadas.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Wed, Dec 17, 2003 at 02:30:46PM -0600, Chris wrote:
> I am trying to convert a driver for dspam from mysql to postgres. In
> the files I have they are useing mysql.h. Is there a similar library for
> postgres? If so what is it and is there any documentation on how to use
> it besides what is in the actual code?

PostgreSQL's client-side library is called libpq; the header file is
libpq-fe.h. Documentation for the latest version (7.4) is here:

http://www.postgresql.org/docs/current/static/libpq.html

If you're using something older, then pick the appropriate version from
the documentation main index:

http://www.postgresql.org/docs/

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message joseph speigle 2003-12-18 05:46:58 Re: really in neeed of help...queston about libpxx
Previous Message joseph speigle 2003-12-17 21:04:50 Re: postgres library simailar to mysql.h