Search Postgresql Archives

Re: hardcode password in connect string

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux