From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Alfred Anzlovar <fredi@biff.logon.si>
Cc: Alfred Anzlovar <fuzzy@logon.si>
Cc: pgsql-admin@postgresql.org
Subject: Re: Authentication in batch processing
Date: Thu, 4 Jul 2002 11:23:25 -0400 (EDT)
Message-ID: <200207041523.g64FNQY21481@candle.pha.pa.us> (raw)
In-Reply-To: <Pine.LNX.4.33.0207041647280.24817-100000@biff.logon.si>
Alfred Anzlovar wrote:
> Maybe this could/can be done differently, but as it was, it was so easy
> and nice. And if there are more of us, poor souls, with comparable
> problems maybe an option called '--pwd-from-stdin-only' would be a
> solution. Another option (thanks God for Open Source projects) is adding
> an option for prompting into psql by myself. But I see this is a rather
> drastic measure to get what I need/want.
How about PGUSER/PGPASSWORD? That will work. This is assuming you
don't have an OS (BSD?) that displays environment variables for a
process.
--
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: pgman@candle.pha.pa.us, fredi@biff.logon.si, fuzzy@logon.si
Subject: Re: Authentication in batch processing
In-Reply-To: <200207041523.g64FNQY21481@candle.pha.pa.us>
References: <Pine.LNX.4.33.0207041647280.24817-100000@biff.logon.si> <200207041523.g64FNQY21481@candle.pha.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox