Re: hardcode password in connect string

Поиск
Список
Период
Сортировка
От Raymond O'Donnell
Тема Re: hardcode password in connect string
Дата
Msg-id e0fef727-a920-a929-be64-9519eb07ece7@iol.ie
обсуждение исходный текст
Ответ на Re: hardcode password in connect string  (Ricardo Martin Gomez <rimartingomez@hotmail.com>)
Ответы Re: hardcode password in connect string  (Guillaume Lelarge <guillaume@lelarge.info>)
Re: hardcode password in connect string  (Martín Marqués <martin@2ndquadrant.com>)
Список pgsql-general
On 15/04/18 12:35, Ricardo Martin Gomez wrote:
> Hello David,
> I think so, the parameter you need in psql command is -w mipassword.

Sorry, this is not correct. -w causes psql *never* to prompt for a 
password, and -W forces a password prompt. Neither allows the password 
to be passed as an argument - I don't think that this is possible with psql.

Details here:

   https://www.postgresql.org/docs/10/static/app-psql.html

Ray.


-- 
Raymond O'Donnell :: Galway :: Ireland
rod@iol.ie


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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Can a broken Postgresql data directory be reconstructed withoutlosing data?
Следующее
От: Guillaume Lelarge
Дата:
Сообщение: Re: hardcode password in connect string