Re: DBD::Pg and .pgpass - Mailing list pgsql-interfaces

From Greg Sabino Mullane
Subject Re: DBD::Pg and .pgpass
Date
Msg-id 450719ffd2a29a5ccbb98aa2376ed407@biglumber.com
Whole thread Raw
In response to DBD::Pg and .pgpass  (Brian Trammell <bht@cert.org>)
List pgsql-interfaces
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


> I'm trying to run a Perl script connecting to a PostgreSQL database via
> DBI and DBD::Pg as a cron job. I'm already using the .pgpass mechanism
> for managing md5 passwords on the client side and would like to use the
> same mechanism for connecting from the Perl script. This does not,
> however, appear to work. Passing either "" or undef for the password
> yields "no password supplied at <script> line <line>".

I know that this was a libpq bug in the past (circa 2002) but I thought it
had been fixed. I am ccing this to the hackers list to see if anyone can
verify this.

- --
Greg Sabino Mullane greg@turnstep.com
PGP Key: 0x14964AC8 200505040905
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8
-----BEGIN PGP SIGNATURE-----

iD8DBQFCeMjQvJuQZxSWSsgRAhLjAKDwVc1nIHPaAQIME6XpRfQv9uif4wCgjk51
xGLEKTOf0S157j5halCHKNg=
=T3wQ
-----END PGP SIGNATURE-----




pgsql-interfaces by date:

Previous
From: Tom Lane
Date:
Subject: Re: [GENERAL] calculated identity field in views,
Next
From: Ragnar Hafstað
Date:
Subject: Re: [GENERAL] calculated identity field in views,