How to set password in psql -h -d -U command line?

From: Shaozhong SHI <shishaozhong(at)gmail(dot)com>
To: pgsql-general <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: How to set password in psql -h -d -U command line?
Date: 2022-04-28 09:32:42
Message-ID: CA+i5JwYrfM-iyHYLjUG3wMQ_5zYtyDNhLFQ_vNF4Azz5OrPbXQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I tried various ways to set password in psql command line, but got no luck.

Can anyone help?

Regards,

David

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Junsong Yang 2022-04-28 09:39:36 About postgresql-db Directory
Previous Message Zb B 2022-04-28 09:09:12 Re: Replication with Patroni not working after killing secondary and starting again