how to run psql without password prompt when using auth MD5/Password

Поиск
Список
Период
Сортировка
От eyal edri
Тема how to run psql without password prompt when using auth MD5/Password
Дата
Msg-id BANLkTikSxMQMBTMpBNNV6zxCJG+34UcZnA@mail.gmail.com
обсуждение исходный текст
Ответы Re: how to run psql without password prompt when using auth MD5/Password
Список pgsql-general
Hi,

Is there a way to run psql -U user -d dbname -c "select....." 

without the psql asking for a password prompt from the user? 

when setting the pg_hba.conf file to use md5 or password.

(btw, i've tried using ident, but couldn't make it work with jboss).

thanks!

Eyal.

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

Предыдущее
От: CSS
Дата:
Сообщение: Tuning for a tiny database
Следующее
От: Grzegorz Szpetkowski
Дата:
Сообщение: Re: how to run psql without password prompt when using auth MD5/Password