Lazarus
Installation => Windows (32/64) => Topic started by: everton on November 10, 2011, 09:17:44 pm
-
The last dated version of 0.9.3.2 to win64 doesn't come with the postgres connection.
Anybody, know something about it?
-
I'll try to reinstall.
-
I've reinstall but againt the TPQConnection is missing.
Is only here, or have happen also with some friend?
-
Install the sqldb package.
-
I am also having the same problem.
Lazarus and I'm using windows 7 64 09.30.4.
Ja SQLdb reinstalled and still does not appear access to Postgresql.
Can anyone help me.
-
In registersqldb.pas, top lines:
{$IFNDEF win64}
{$DEFINE HASMYSQL4CONNECTION}
{$DEFINE HASORACLECONNECTION}
{$DEFINE HASPQCONNECTION} // <--
{$DEFINE HASSQLITE3CONNECTION}
{$ENDIF}
So I guess it's not supported somehow. Anyway, I'm using SQLite3 compiled for Win64 (but I use it through tiOPF) and it works. So you might want to try add the define and test yourself.
-
Postgresql connector and some other database connectors are disabled on win64 builds.
Recently mssqlconn (MS SQL Server and Sybase ASE) connector was enabled.
IIRC, Oracle is still disabled.
See e.g.
http://www.mail-archive.com/fpc-pascal@lists.freepascal.org/msg28003.html (http://www.mail-archive.com/fpc-pascal@lists.freepascal.org/msg28003.html)
and
http://www.mail-archive.com/fpc-pascal@lists.freepascal.org/msg28025.html (http://www.mail-archive.com/fpc-pascal@lists.freepascal.org/msg28025.html)
Edit: I found the same entries in registersqldb.pas things as Lacak...
Perhaps you can just enable it and use a 64 bit posgresql client (see one of the threads I quoated above). If it works, you can easily submit a patch to the bug tracker...
-
Note that these components were not enabled because never has tested them.
If you want to see them enabled, search for an appropriate 64-bit clientlib and then test. If the test is succesful, rapport your findings to the bugtracker (in a way that can be easily reproducable), and we'll see about enabling them.
With mssql it went that way. First disabled, then enabled when it was shown that it worked.
-
How do I enable the connection to Postgresql?
-
How do I enable the connection to Postgresql?
Just compile it manually or edit the list of OSes per database in packages/fcl-db/fpmake.pp (2.7.1/trunk) and rebuild.