From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Alfred Anzlovar <fredi(at)biff(dot)logon(dot)si> |
Cc: | Alfred Anzlovar <fuzzy(at)logon(dot)si>, pgsql-admin(at)postgresql(dot)org |
Subject: | Re: Authentication in batch processing |
Date: | 2002-07-04 15:23:25 |
Message-ID: | 200207041523.g64FNQY21481@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Alfred Anzlovar | 2002-07-04 15:49:16 | Re: Authentication in batch processing |
Previous Message | Alfred Anzlovar | 2002-07-04 15:21:17 | Re: Authentication in batch processing |