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
  [EMAIL PROTECTED]               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026



---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html


Reply via email to