| От | Sergey Litvinenko |
|---|---|
| Тема | pg_dump and password required |
| Дата | |
| Msg-id | 200710150105.05800.sergey@rsu.ru обсуждение |
| Ответы |
Re: pg_dump and password required
|
| Список | pgsql-bugs |
Hello! I have Postgres configured so it requires password to access DB (in pg_hba.conf). The problem is that I want to set up an automated backup with pg_dump, but it asks for password interactively, rather then accept password from either command-line option or from some config-file (e.g. ~/.psqlrc) The workaround would be to disable password requirement, but this is a security risk I want to avoid. Why no to add an option --password="" to command-line options of pg_dump? -- Sincerely, Sergey Litvinenko ----------------- sergey@rsu.ru icq#: 34161555 http://www.rsu.ru/~sergey/
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера