Re: how to put passwd ?

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: how to put passwd ?
Дата
Msg-id 20031020190137.GB20617@dcc.uchile.cl
обсуждение исходный текст
Ответ на how to put passwd ?  (ivan <iv@psycho.pl>)
Список pgsql-hackers
On Mon, Oct 20, 2003 at 08:56:05PM +0200, ivan wrote:

> how put password to psql, pg_dump etc by same shell script (for ie by
> crontab) , because there are option -W but passwd is reading from /dev/tty
> not from stdin , so i can not use | :(

Have you tried the ~/.pgpass file or the PGPASSWORD environment
variable?  They're both documented in the libpq reference.

BTW, you should really be posting this in pgsql-general, not -hackers.

-- 
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"La naturaleza, tan frágil, tan expuesta a la muerte... y tan viva"


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

Предыдущее
От: "Jeroen T. Vermeulen"
Дата:
Сообщение: Re: In-doubt window
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Unicode upper() bug still present