Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id 7451E4762DA for ; Thu, 4 Jul 2002 12:40:18 -0400 (EDT) Mailbox-Line: From pgman@candle.pha.pa.us Thu Jul 4 12:40:18 2002 Received: from candle.pha.pa.us (216-55-132-35.dsl.san-diego.abac.net [216.55.132.35]) by postgresql.org (Postfix) with ESMTP id 403CE475BDA for ; Thu, 4 Jul 2002 12:16:14 -0400 (EDT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.10.1) id g64GGD800114; Thu, 4 Jul 2002 12:16:13 -0400 (EDT) From: Bruce Momjian Message-Id: <200207041616.g64GGD800114@candle.pha.pa.us> Subject: Re: Authentication in batch processing In-Reply-To: To: Alfred Anzlovar Date: Thu, 4 Jul 2002 12:16:13 -0400 (EDT) Cc: Alfred Anzlovar , pgsql-admin@postgresql.org X-Mailer: ELM [version 2.4ME+ PL99 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, hits=-3.4 required=5.0 tests=IN_REP_TO version=2.30 X-Spam-Level: X-Archive-Number: 200207/63 X-Sequence-Number: 4749 Alfred Anzlovar wrote: > On Thu, 4 Jul 2002, Bruce Momjian wrote: > > > How about PGUSER/PGPASSWORD? That will work. This is assuming you > > don't have an OS (BSD?) that displays environment variables for a > > process. > > No BSD, Linux. And it works. Thanks. > > Well, I must admit we had some rain today, but after your answer sun came > from behind the clouds :) > > More thanks and greetings from the Sunny side of the Alps. > Alfred Anzlovar 7.3 may remove PGPASSWORD, I think, and instead allow you to specify a file that contains the password. > PS > Is it ok to send e-mail to pgsql-admin@postgresql.org AND TO you? Yes, of course. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026