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 76752D1B8A4 for ; Mon, 25 Aug 2003 04:40:52 -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 21719-05 for ; Mon, 25 Aug 2003 04:40:23 -0300 (ADT) Received: from megazone.bigpanda.com (45.mufb.snfc.sffca01r18.dsl.att.net [12.103.249.45]) by svr1.postgresql.org (Postfix) with ESMTP id 1480ED1B574 for ; Mon, 25 Aug 2003 04:40:18 -0300 (ADT) Received: by megazone.bigpanda.com (Postfix, from userid 1001) id 46529D61A; Mon, 25 Aug 2003 00:40:18 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by megazone.bigpanda.com (Postfix) with ESMTP id 33F4A5C0E; Mon, 25 Aug 2003 00:40:18 -0700 (PDT) Date: Mon, 25 Aug 2003 00:40:18 -0700 (PDT) From: Stephan Szabo To: Jesse Burkhardt Cc: "'pgsql-admin@postgresql.org'" Subject: Re: Automated backup problems - pg_dump In-Reply-To: <3F49404E.5000301@skybuilders.com> Message-ID: <20030825003812.G79187-100000@megazone.bigpanda.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/276 X-Sequence-Number: 9997 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.