pg.ddx.io pgsql-interfaces@postgresql.org mailing list archive
help / color / mirror / Atom feedHow to get Libpq?
3+ messages / 3 participants
[nested] [flat]
* How to get Libpq?
@ 2004-12-10 18:51 Farrukh Afzal <mfarrukhafzal@gmail.com>
0 siblings, 2 replies; 3+ messages in thread
From: Farrukh Afzal @ 2004-12-10 18:51 UTC (permalink / raw)
To: pgsql-interfaces
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.
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: How to get Libpq?
@ 2004-12-13 06:25 Katsaros Kwn/nos <ntinos@aueb.gr>
parent: Farrukh Afzal <mfarrukhafzal@gmail.com>
1 sibling, 0 replies; 3+ messages in thread
From: Katsaros Kwn/nos @ 2004-12-13 06:25 UTC (permalink / raw)
To: Farrukh Afzal <mfarrukhafzal@gmail.com>; pgsql-interfaces
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" <mfarrukhafzal@gmail.com>
To: <pgsql-interfaces@postgresql.org>
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
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: How to get Libpq?
@ 2004-12-13 11:22 Jeroen T. Vermeulen <jtv@xs4all.nl>
parent: Farrukh Afzal <mfarrukhafzal@gmail.com>
1 sibling, 0 replies; 3+ messages in thread
From: Jeroen T. Vermeulen @ 2004-12-13 11:22 UTC (permalink / raw)
To: Farrukh Afzal <mfarrukhafzal@gmail.com>; +Cc: pgsql-interfaces
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
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2004-12-13 11:22 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-12-10 18:51 How to get Libpq? Farrukh Afzal <mfarrukhafzal@gmail.com>
2004-12-13 06:25 ` Katsaros Kwn/nos <ntinos@aueb.gr>
2004-12-13 11:22 ` Jeroen T. Vermeulen <jtv@xs4all.nl>
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