X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id ED180D1B8AB for ; Mon, 25 Aug 2003 16:06:53 -0300 (ADT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 06952-10 for ; Mon, 25 Aug 2003 16:06:24 -0300 (ADT) Received: from skymail2.skybuilders.com (skymail2.skybuilders.com [206.253.4.7]) by svr1.postgresql.org (Postfix) with ESMTP id C5D28D1B89D for ; Mon, 25 Aug 2003 16:06:21 -0300 (ADT) Received: from skybuilders.com (webdevelop.org [206.253.4.24]) (authenticated) by skymail2.skybuilders.com (8.11.6/8.11.6) with ESMTP id h7PJ6BD29012; Mon, 25 Aug 2003 15:06:11 -0400 Message-ID: <3F4A5E5D.3050502@skybuilders.com> Date: Mon, 25 Aug 2003 15:07:09 -0400 From: Jesse Burkhardt User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en,fr MIME-Version: 1.0 To: Stephan Szabo Cc: "'pgsql-admin@postgresql.org'" Subject: Re: Automated backup problems - pg_dump References: <20030825003812.G79187-100000@megazone.bigpanda.com> In-Reply-To: <20030825003812.G79187-100000@megazone.bigpanda.com> Content-Type: multipart/alternative; boundary="------------050303060606020809050705" X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/293 X-Sequence-Number: 10014 This is a multi-part message in MIME format. --------------050303060606020809050705 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Yo Stephan, Thanks. That was the problem: that there is no longer and underscore in the pg password env var, PGPASSWORD. Are you familiar with the Hungarian jazz guitarist Gabo Szabo? Stephan Szabo wrote: >On Sun, 24 Aug 2003, Jesse Burkhardt wrote: > > > >>I am sure many of you have encountered the problems I am experiencing >>with automating the pg_dump command from a cron. The problem arises from >>a failure of this command to use the environmental variable, >>PG_PASSWORD. (PGUSER, on the other hand, is picked up during command >> >> > >I think the environment variable is PGPASSWORD (no underscore) in at least >7.3 and above. Also, it's somewhat depricated in favor of using the >.pgpass file. > > -- Jesse Burkhardt jesse@skybuilders.com (w) 617-876-5680 goose@aerogoose.com (h) 617-354-5523 --------------050303060606020809050705 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Yo Stephan,

Thanks. That was the problem: that there is no longer and underscore in the pg password env var, PGPASSWORD.

Are you familiar with the Hungarian jazz guitarist Gabo Szabo?

Stephan Szabo wrote:
On Sun, 24 Aug 2003, Jesse Burkhardt wrote:

  
I am sure many of you have encountered the problems I am experiencing
with automating the pg_dump command from a cron. The problem arises from
a failure of this command to use the environmental variable,
PG_PASSWORD. (PGUSER, on the other hand, is picked up during command
    

I think the environment variable is PGPASSWORD (no underscore) in at least
7.3 and above.  Also, it's somewhat depricated in favor of using the
.pgpass file.
  

-- 

 Jesse Burkhardt
 jesse@skybuilders.com  (w) 617-876-5680
 goose@aerogoose.com    (h) 617-354-5523
--------------050303060606020809050705--