X-Original-To: pgsql-hackers-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 0355054526 for ; Wed, 4 May 2005 22:10:53 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 48763-03 for ; Thu, 5 May 2005 01:10:45 +0000 (GMT) Received: from biglumber.com (biglumber.com [207.228.252.42]) by svr1.postgresql.org (Postfix) with SMTP id 547205450A for ; Wed, 4 May 2005 22:10:44 -0300 (ADT) Received: (qmail 18709 invoked from network); 5 May 2005 01:10:48 -0000 Received: from unknown (HELO localhost) (207.228.252.42) by 0 with SMTP; 5 May 2005 01:10:48 -0000 From: "Greg Sabino Mullane" To: pgsql-interfaces@postgresql.org Cc: pgsql-hackers@postgresql.org Cc: pgsql-hackers@postgresql.org Subject: Re: [INTERFACES] DBD::Pg and .pgpass X-PGP-Key: 2529 DF6A B8F7 9407 E944 45B4 BC9B 9067 1496 4AC8 X-Request-PGP: http://www.biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8 In-Reply-To: Date: Thu, 5 May 2005 01:10:48 -0000 X-Mailer: JoyMail 1.48 Message-ID: <450719ffd2a29a5ccbb98aa2376ed407@biglumber.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=1.145 tagged_above=0 required=5 tests=AWL, URIBL_AB_SURBL X-Spam-Level: * X-Archive-Number: 200505/333 X-Sequence-Number: 67209 -----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