Don't Do This - PostgreSQL wiki <https://wiki.postgresql.org/wiki/Don%27t_Do_This#Don.27t_use_psql_-W_or_--password>
On Thu, Apr 28, 2022 at 3:13 PM Josha Inglis <joshaing...@gmail.com> wrote: > https://www.postgresql.org/docs/current/libpq-envars.html > > Either set the PGPASSWORD environment variable or set up a .pgpass file > > Josha > > On Thu, 28 Apr 2022 at 19:33, Shaozhong SHI <shishaozh...@gmail.com> > wrote: > >> I tried various ways to set password in psql command line, but got no >> luck. >> >> Can anyone help? >> >> Regards, >> >> David >> > -- > Kind Regards > > Josha Inglis >