Re: Starting psql from Script - how to pass the password?

Поиск
Список
Период
Сортировка
От Dani Oderbolz
Тема Re: Starting psql from Script - how to pass the password?
Дата
Msg-id 3EF30147.6000808@ecologic.de
обсуждение исходный текст
Ответ на Re: Starting psql from Script - how to pass the password?  (Hubert Lubaczewski <hubert.lubaczewski@eo.pl>)
Список pgsql-novice
Hubert Lubaczewski wrote:

>sure,
>just:
>export PGPASSWORD="your_password"
>before calling postgresql programs.
>than it doesn't ask.
>but since it's raher dangerous, check if you can (version dependant), and use ~/.pgpass file instead.
>you can find more information in postgresql-docs/html/libpq-envars.html
>
Hey Hubert,
thats the solution I was after.
I realise that there are Security Implications,
but I can handle this here.

Thanks!




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

Предыдущее
От: Hubert Lubaczewski
Дата:
Сообщение: Re: Starting psql from Script - how to pass the password?
Следующее
От: Harry Broomhall
Дата:
Сообщение: Re: Commit within a PL/PGSQL procedure