pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Fuhr <mike@fuhr.org>
To: Kyntiewborlang Marwein <rk2m2002@yahoo.co.in>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: Getting Startted With postgresql thru Libpq
Date: Sun, 22 Jan 2006 22:30:58 -0700
Message-ID: <20060123053058.GA73867@winnie.fuhr.org> (raw)
In-Reply-To: <20060117202418.84767.qmail@web8609.mail.in.yahoo.com>
References: <20060117202418.84767.qmail@web8609.mail.in.yahoo.com>

On Tue, Jan 17, 2006 at 08:24:18PM +0000, Kyntiewborlang Marwein wrote:
> I installed postgresql from a package that comes with
> mandrake 10 and want to use libpq as interface.Does it
> include libpq or i have to get it separately?

There should be a way to list a package's contents; do so and look
for files with libpq in their name (libpq.a, libpq.so, etc.) or use
a command like "find" or "locate" to search your filesytem.  Also
look for the libpq-fe.h header file.

> Also pls tell me all that is to be done to connect to
> posgresql using libpq.I'm a new user to posgresql..so
> if possible pls give me in details.thank you..

See the libpq documentation for your version of PostgreSQL.  Here's
a link for 8.1:

http://www.postgresql.org/docs/8.1/interactive/libpq.html

If you're new to PostgreSQL then you'll benefit from reading
other parts of the documentation such as "Tutorial" and "Server
Administration."

-- 
Michael Fuhr



view thread (2+ messages)

Message-ID: <20060123053058.GA73867@winnie.fuhr.org>
Permalink:  ../20060123053058.GA73867@winnie.fuhr.org/
Also on:    postgresql.org/message-id/20060123053058.GA73867@winnie.fuhr.org

 · 

reply

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: mike@fuhr.org, rk2m2002@yahoo.co.in
  Subject: Re: Getting Startted With postgresql thru Libpq
  In-Reply-To: <20060123053058.GA73867@winnie.fuhr.org>

* 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