POstgreSQL 8.1.X/Lazarus?

Started by Zlatko Matićover 20 years ago3 messagesgeneral
Jump to latest
#1Zlatko Matić
zlatko.matic1@sb.t-com.hr

Hello.

Is there anybody using lazarus with new POstgreSQL 8.1.X ?
I couldn't connect using Zeos, because it seems zeos work only with old versions of PostgreSQL.
Also, I couldn't connect by using TPSQL, because it can't find libpg.dll installed (?)...

Regards,

Zlatko

#2Tony Caduto
tony.caduto@amsoftwaredesign.com
In reply to: Zlatko Matić (#1)
Re: POstgreSQL 8.1.X/Lazarus?

Are you running Lazarus on win32 or Linux?(I assume win32 because you
mentioned a dll)

I have successfully used Zeos with Delphi against a 8.1 server, I even
used the libpq74.dll that ships with zeos.

I guess you should make sure any versions of libpq you have are in your
system32 dir. Windows first checks the system dir, then your app dir
for dlls. (it used to be the other way around)

Also check out the Zeos forums at:
http://zeosforum.net.ms/

Later,

Tony Caduto
AM Software Design
Home of PG Lightning Admin for Postgresql
http://www.amsoftwaredesign.com

Show quoted text

Is there anybody using lazarus with new POstgreSQL 8.1.X ?
I couldn't connect using Zeos, because it seems zeos work only with old
versions of PostgreSQL.
Also, I couldn't connect by using TPSQL, because it can't find libpg.dll
installed (?)...

Regards,

Zlatko

#3Zlatko Matić
zlatko.matic1@sb.t-com.hr
In reply to: Zlatko Matić (#1)
Re: POstgreSQL 8.1.X/Lazarus?

OK. I get it. I copied libpq74.dll to system32 and now it works, bu only
partially, just for tables, not for queries. There is some runtime error for
queries, but I should ask about it in some Zeos and Lazarus newsgroups.
Thanks.

----- Original Message -----
From: "Tony Caduto" <tony.caduto@amsoftwaredesign.com>
To: "Zlatko Matić" <zlatko.matic1@sb.t-com.hr>
Cc: <pgsql-general@postgresql.org>
Sent: Thursday, December 29, 2005 6:12 PM
Subject: Re: [GENERAL] POstgreSQL 8.1.X/Lazarus?

Show quoted text

Are you running Lazarus on win32 or Linux?(I assume win32 because you
mentioned a dll)

I have successfully used Zeos with Delphi against a 8.1 server, I even
used the libpq74.dll that ships with zeos.

I guess you should make sure any versions of libpq you have are in your
system32 dir. Windows first checks the system dir, then your app dir for
dlls. (it used to be the other way around)

Also check out the Zeos forums at:
http://zeosforum.net.ms/

Later,

Tony Caduto
AM Software Design
Home of PG Lightning Admin for Postgresql
http://www.amsoftwaredesign.com

Is there anybody using lazarus with new POstgreSQL 8.1.X ?
I couldn't connect using Zeos, because it seems zeos work only with old
versions of PostgreSQL.
Also, I couldn't connect by using TPSQL, because it can't find libpg.dll
installed (?)...
Regards,
Zlatko

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings