Skip site navigation (1) Skip section navigation (2)

Re: [INTERFACES] DBD::Pg and .pgpass

From: "Greg Sabino Mullane" <greg(at)turnstep(dot)com>
To: pgsql-interfaces(at)postgresql(dot)org
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [INTERFACES] DBD::Pg and .pgpass
Date: 2005-05-05 01:10:48
Message-ID: 450719ffd2a29a5ccbb98aa2376ed407@biglumber.com (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-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(at)turnstep(dot)com
PGP Key: 0x14964AC8 200505040905
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8
-----BEGIN PGP SIGNATURE-----

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



In response to

pgsql-hackers by date

Next:From: Bruce MomjianDate: 2005-05-05 01:21:05
Subject: Re: Feature freeze date for 8.1
Previous:From: Oliver JowettDate: 2005-05-04 23:57:08
Subject: Re: Implement support for TCP_KEEPCNT, TCP_KEEPIDLE, TCP_KEEPINTVL

pgsql-interfaces by date

Next:From: Robert WimmerDate: 2005-05-05 21:49:44
Subject: dynamic functions
Previous:From: Tom LaneDate: 2005-05-04 23:27:38
Subject: Re: [INTERFACES] calculated identity field in views,

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group