in the current snapshot there is no default for PGHOST
in src/interfaces/libpq/fe-connect.c.
In 6.2 this was 'localhost', which is a reasonable default.
If there is no real reason for not having a default for
the host-option, please provide 'localhost' as default.
No host means connect with unix domain socket.
If host (PGHOST) is set connection is made with tcp socket.
This is related to the problem I mentioned before with
DBD::Pg and libpq.
regards,
--
---------------------------------------------
Göran Thyni, sysadm, JMS Bildbasen, Kiruna