[Lazarus] Connecting to a Postgres Database

Dave Coventry dgcoventry at gmail.com
Sun May 25 17:54:35 CEST 2008


Hi.

I don't HAVE a windows postgres installation.

Do you have copies of the files? The best I could do was to was a
libpq.dll from v7.0.

Why are they needed, anyway? I don't see any mention of their
requirement in the wiki(s).

I'm not actually convinced that this is the problem; how do I test to
see if the Ubuntu server is allowing Postgres transactions?

Many thanks,

Dave Coventry


On Sun, May 25, 2008 at 5:28 PM, zeljko <zeljko at holobit.net> wrote:
> On Sunday 25 May 2008 17:08, Dave Coventry wrote:
>> 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?
>
> find libpq.dll/libpq8X.dll somewhere and copy it to C:\Windows\System32
> (probably you can find libpq.dll in your windows postgres installation)
>
>> _______________________________________________
>> Lazarus mailing list
>> Lazarus at lazarus.freepascal.org
>> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
> _______________________________________________
> Lazarus mailing list
> Lazarus at lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
>



More information about the Lazarus mailing list