[Lazarus] Connecting to a Postgres Database

Jalal jalsalihi at yahoo.com
Sun May 25 21:15:44 CEST 2008


Yes, you need the client libraries to connect to the PostgreSQL database server.

The PostgreSQL database access provided by the FreePascal team depends on the client libraries ( libpq and related ) supplied by the PostgreSQL team.

If you don't have them already from another PostgreSQL download you might consider pgAdmin, a nice administration tool which includes these DLLs too.

From: "Dave Coventry" <dgcoventry at gmail.com>
To: lazarus at miraclec.com
Date: Sun, 25 May 2008 17:08:05 +0200
Subject: [Lazarus] Connecting to a Postgres Database

 Hi,

I'm using a windows machine (XP) running my app written with Lazarus
and trying to connect to a Postgres Server.

Whenever I turn the Connected field on my PQConnection component, I
get an error saying that it cannot find PostgreSQL client and
referencing libpq.dll.

Does anyone know what's happening?

Do I need a client to start the connection with the server?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20080525/a14e4dbd/attachment-0007.html>


More information about the Lazarus mailing list