X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 67FA69DC836 for ; Mon, 23 Jan 2006 01:31:04 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 59991-02 for ; Mon, 23 Jan 2006 01:31:03 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from tigger.fuhr.org (tigger.fuhr.org [63.214.45.158]) by postgresql.org (Postfix) with ESMTP id AA5E99DC805 for ; Mon, 23 Jan 2006 01:31:01 -0400 (AST) Received: from winnie.fuhr.org (winnie.fuhr.org [10.1.0.1]) by tigger.fuhr.org (8.13.3/8.13.3) with ESMTP id k0N5UwZN024949 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 22 Jan 2006 22:31:01 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: from winnie.fuhr.org (localhost [127.0.0.1]) by winnie.fuhr.org (8.13.4/8.13.4) with ESMTP id k0N5Uwfk084320; Sun, 22 Jan 2006 22:30:58 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: (from mfuhr@localhost) by winnie.fuhr.org (8.13.4/8.13.4/Submit) id k0N5UwEt084319; Sun, 22 Jan 2006 22:30:58 -0700 (MST) (envelope-from mfuhr) Date: Sun, 22 Jan 2006 22:30:58 -0700 From: Michael Fuhr To: Kyntiewborlang Marwein Cc: pgsql-interfaces@postgresql.org Subject: Re: Getting Startted With postgresql thru Libpq Message-ID: <20060123053058.GA73867@winnie.fuhr.org> References: <20060117202418.84767.qmail@web8609.mail.in.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060117202418.84767.qmail@web8609.mail.in.yahoo.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.108 required=5 tests=[AWL=0.108] X-Spam-Score: 0.108 X-Spam-Level: X-Archive-Number: 200601/40 X-Sequence-Number: 5956 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