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 <shishaozhong(at)gmail(dot)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