Re: How to set password in psql -h -d -U command line? - Mailing list pgsql-general

From Josha Inglis
Subject Re: How to set password in psql -h -d -U command line?
Date
Msg-id CAMX_STqOec3W_Td4nTkFrFGeBw7e0VZDu9uHSw4bdVFgpdNKow@mail.gmail.com
Whole thread Raw
In response to How to set password in psql -h -d -U command line?  (Shaozhong SHI <shishaozhong@gmail.com>)
Responses Re: How to set password in psql -h -d -U command line?  (alias <postgres.rocks@gmail.com>)
List pgsql-general
Either set the PGPASSWORD environment variable or set up a .pgpass file

Josha

On Thu, 28 Apr 2022 at 19:33, Shaozhong SHI <shishaozhong@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

pgsql-general by date:

Previous
From: Joao Miguel Ferreira
Date:
Subject: Re: How to set password in psql -h -d -U command line?
Next
From: alias
Date:
Subject: Re: How to set password in psql -h -d -U command line?