By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,035 Members | 1,543 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,035 IT Pros & Developers. It's quick & easy.

how does postgres handle invalid pgpass entries?

P: 1
Hi,

What happens if we write the invalid entries to the pgpass file ?
correct format is hostname:port:database:username:password which is a 5-tuple entry.
what if we give less/more number of fields to the pgpass file.?
what if we give wrong information to the pgpass entry ?

Does it just ignore the entry and prompt user to enter password manually ? or does it fail to connect to DB and stop there itself ?

How does Postgres handle pgpass internally ??

Thanks,
Jan 4 '14 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.