Re: psql Automatic login In Bash Script

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: psql Automatic login In Bash Script
Дата
Msg-id 200401132047.28432.peter.eisentraut@credativ.de
обсуждение исходный текст
Ответ на psql Automatic login In Bash Script  (Sai Hertz And Control Systems <sank89@sancharnet.in>)
Список pgsql-admin
Sai Hertz And Control Systems wrote:
> What I need is since password be stored in the bash variable for
> once I may pass on the variable with password to
> psql
> pg_dump
> pg_restore
> and my database migration would go smothly

That would be a security hole because then other users can read the
password using 'ps'.

> Also would not like to set ~/.pgpass

Why not?  That's what it's for.


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

Предыдущее
От: Leslie
Дата:
Сообщение: Re: Are there programs to graph database schema?
Следующее
От: Max Grigoriev
Дата:
Сообщение: Pg_restore qusetion