I have a set of tests for one application When the test case calls
psql, the .pgpass file is used.
When the test case is run through Perl and DBI, we get:
DBI connect('dbname=[dbname]','',...) failed: fe_sendauth: no password supplied
Is this normal? I would have thought the call to libpq would have
been where the .pgpass handling would occur. Am I missing something?
Granted this is an older version of DBD::Pg (pre-2.0) but I would have
thought this was lower-level than that.