Re: Authentication in batch processing

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Authentication in batch processing
Дата
Msg-id 200207041523.g64FNQY21481@candle.pha.pa.us
обсуждение исходный текст
Ответ на Authentication in batch processing  (Hal Lynch <hal@cc.usu.edu>)
Ответы Re: Authentication in batch processing
Список 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@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



В списке pgsql-admin по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Which DB is using space.
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Authentication in batch processing