psql prompting for password. Can we suppress it? - Mailing list pgsql-bugs

From Pradeep Rai
Subject psql prompting for password. Can we suppress it?
Date
Msg-id 000a01c7d037$7d271340$de0ac00a@xpwks8945
Whole thread Raw
Responses Re: psql prompting for password. Can we suppress it?  ("Milen A. Radev" <milen@radev.net>)
List pgsql-bugs
Hello,
=20
We are trying to perform bulk insert into PostGre database with the help of
a text file (containing n INSERT statements), and then invoking psql command
from a batch file.
=20
"psql -d <database name> -f <file-name.sql> -h <server-ip> -U <username>"
=20
The issue is that the psql command window prompts for the password. Have you
got any idea how to suppress it?=20
=20
Thanks in advance.
=20
Best Regards,
Pradeep Rai
(New Delhi, India)

pgsql-bugs by date:

Previous
From: Michał Niklas
Date:
Subject: Re: BUG #3493: Cannot find data with = operator
Next
From: "Milen A. Radev"
Date:
Subject: Re: psql prompting for password. Can we suppress it?