Re: Any issues with using .pgpass files and DBD::Pg

"Greg Sabino Mullane" <greg-738XdyZ4GzZWk0Htik3J/[email protected]>
Newsgroups gmane.comp.db.postgresql.dbdpg
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160


> 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

As you say, this is handled by libpq, and should be transparent to DBD::Pg.
Check that the same username, port, and host are being used. Showing the
exact error message to us may help too.


- --
Greg Sabino Mullane greg-738XdyZ4GzZWk0Htik3J/[email protected]
End Point Corporation
PGP Key: 0x14964AC8 200812071912
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8
-----BEGIN PGP SIGNATURE-----

iEYEAREDAAYFAkk8Zr8ACgkQvJuQZxSWSsilYACfaK6WpFyMV0qjGAZh+OQWCPUz
9ZIAoI5hawpUH89dwlEF6L6lBqKG44C/
=kNNH
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.