psql without password prompt

Поиск
Список
Период
Сортировка
От brew@theMode.com
Тема psql without password prompt
Дата
Msg-id Pine.BSF.4.44.0205301652220.6765-100000@themode.com
обсуждение исходный текст
Ответ на psql without password prompt  (Wei Weng <wweng@kencast.com>)
Список pgsql-novice
> I want to run a SQL script in my crontab job which requires using psql
> without having to input password every time. I am running postgresql
> 7.2.
>
> What is the trick?

You may have gotten other replies that I've not noticed in my mail que,
but what I do is write my script in perl and use the DBI module to connect
to the database.  Then use cron to run the script.

I'm sure there are other ways, but that's one way.

brew


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

Предыдущее
От: "Josh Berkus"
Дата:
Сообщение: Re: Database Ownership
Следующее
От: "V R"
Дата:
Сообщение: Enabling Audit Trail in Postgres