knowledge-database (beta)

Current group: pgsql.interfaces

How to get Libpq?

How to get Libpq?  
Farrukh Afzal
 Re: How to get Libpq?  
Jeroen T. Vermeulen
 Re: How to get Libpq?  
Katsaros Kwn/nos
From:Farrukh Afzal
Subject:How to get Libpq?
Date:Fri, 10 Dec 2004 23:51:29 +0500
Hello,
i have just started working with postgres. I want ot access
the database from c or c++. I got some help from manual. I explained
that libpq or libpq++ is required. I am working o redhat 9. i have all
the packages installed, but i don't have the libpq and libpq++
installed. How can i get these libraries?please reply with a bit
detail, as i am new to linux so need more help.

FARRUKH.

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster
From:Jeroen T. Vermeulen
Subject:Re: How to get Libpq?
Date:Mon, 13 Dec 2004 12:22:45 +0100
On Fri, Dec 10, 2004 at 11:51:29PM +0500, Farrukh Afzal wrote:

> i have just started working with postgres. I want ot access
> the database from c or c++. I got some help from manual. I explained
> that libpq or libpq++ is required. I am working o redhat 9. i have all
> the packages installed, but i don't have the libpq and libpq++
> installed. How can i get these libraries?please reply with a bit
> detail, as i am new to linux so need more help.

RedHat itself may offer an RPM package with the libpq library and
headers.

Also, libpq++ is outdated. The new C++ interface is libpqxx, and has
been for years. Perhaps the documentation should be fixed on this
point...


Jeroen


---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly
From:Katsaros Kwn/nos
Subject:Re: How to get Libpq?
Date:Mon, 13 Dec 2004 08:25:41 +0200
libpq comes with the PostgreSQL installation, you dont have to explicitly
get it from anyware.
It is usually available in /usr/local/pgsql/lib

read the documentation for compilation/linking issues:
http://www.postgresql.org/docs/current/static/libpq-build.html

regards,
Ntinos Katsaros

----- Original Message -----
From: "Farrukh Afzal"
To:
Sent: Friday, December 10, 2004 8:51 PM
Subject: [INTERFACES] How to get Libpq?


> Hello,
> i have just started working with postgres. I want ot access
> the database from c or c++. I got some help from manual. I explained
> that libpq or libpq++ is required. I am working o redhat 9. i have all
> the packages installed, but i don't have the libpq and libpq++
> installed. How can i get these libraries?please reply with a bit
> detail, as i am new to linux so need more help.
>
> FARRUKH.
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster


---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
   

Copyright © 2006 knowledge-database   -   All rights reserved