psql shell with no password prompt

Поиск
Список
Период
Сортировка
От Steve.Toutant@inspq.qc.ca
Тема psql shell with no password prompt
Дата
Msg-id OF19F9E409.963810B9-ON8525776D.005C2CB2-8525776D.005CC9EF@isn.rtss.qc.ca
обсуждение исходный текст
Ответы Re: psql shell with no password prompt  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Re: psql shell with no password prompt  (Walter Willmertinger <willmis@gmail.com>)
Список pgsql-admin

Hi,
I created several SQL that are automatically executed via windows task scheduler, here is an example
psql -U "dbadmin" -d mydb -f D:\script.sql

It was running well until I changed the user (to open a session) associated to these task.
The script prompt for a password for user dbadmin.

How to avoid that? I guess there is a config so dbadmin will "trust" this new user....

Thanks for your help,

Steve

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

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Postgresql for Windows 7
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: Re: psql shell with no password prompt