| От | Tom Lane |
|---|---|
| Тема | Re: psql and passwords |
| Дата | |
| Msg-id | 25452.1018896745@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | psql and passwords (Michael Devogelaere <michael@mind.be>) |
| Ответы |
Re: psql and passwords
|
| Список | pgsql-general |
Michael Devogelaere <michael@mind.be> writes:
> With the previous version, i passed the password with
> 'echo pass | psql -d db -U user -h server -c "..."'
> but that doesn't seem to work anymore (because it reads the password now
> from /dev/tty instead of stdin i guess).
This was a deliberate change (some of us had misgivings about it but
were voted down).
I'd suggest seeing if you can't avoid needing passwords anymore,
instead. "ident" auth works over local connections now (at least
on some platforms, including recent Linuxen).
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера