psql prompting for password. Can we suppress it?

From: "Pradeep Rai" <pradeepr(at)infotechsw(dot)com>
To: <pgsql-bugs(at)postgresql(dot)org>
Subject: psql prompting for password. Can we suppress it?
Date: 2007-07-27 10:18:33
Message-ID: 000a01c7d037$7d271340$de0ac00a@xpwks8945
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hello,

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.

"psql -d <database name> -f <file-name.sql> -h <server-ip> -U <username>"

The issue is that the psql command window prompts for the password. Have you
got any idea how to suppress it?

Thanks in advance.

Best Regards,
Pradeep Rai
(New Delhi, India)

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Alvaro Herrera 2007-07-27 10:35:49 Re: BUG #3493: Cannot find data with = operator
Previous Message Michal Niklas 2007-07-27 10:11:42 BUG #3493: Cannot find data with = operator