What versions do you use? See signature.
Current trunk doesn't have Postgresql connectors.
You can upload a patch to the bugtracker to enable the postgresql component in Lazarus; for Laz you need to go to components\sqldb, and perhaps edit the makefiles, but certainly
{$IFNDEF win64}
{$DEFINE HASMYSQL4CONNECTION}
{$DEFINE HASORACLECONNECTION}
{$DEFINE HASPQCONNECTION}
{$DEFINE HASSQLITE3CONNECTION}
{$ENDIF}
in registersqldb.pas
FPC trunk would need altering:
packages\fcl-db\src\sqldb\postgres
{ Drivers only for the following OSes }
Targets.DefaultOS:=[win32,openbsd,netbsd,freebsd,darwin,linux,haiku];
If applying a patch, please also specify a download location for the PostgreSQL 64 bit driver for windows; that will help with testing.
If you don't feel up to writing a patch, you can still open an FPC and a Lazarus feature request/bug on the bug tracker, indicating postgresql works for you on 64 bit windows and you want a driver for it. Indicate your OS/Lazarus/FPC version, as well as the location of the Postgresql driver, and as a courtesy, you could copy the details I wrote above.
If the patch is applied, you'll find it in snapshot versions of Lazarus trunk + FPC 2.7.1