Thread: Windows psql.exe password from pgpass.conf

Windows psql.exe password from pgpass.conf

From
laurentpointca@gmail.com
Date:
Postgres 8.1 on a windows machine.

I followed instructions and went to APPDIR to setup the file
pgpass.conf:
*   *   myuser   mypass

I also tried: *   *   databasename    myuser   mypass

I also tried: *:*:myuser:mypass

When i start psql -U myuser, it always requests that I type the
password. What could be wrong? I've found very little information
regarding the pgpass.conf file...

thank you


Re: Windows psql.exe password from pgpass.conf

From
"Laurent"
Date:
Apparently I forgot one combination, which was the correct one. For
reference:

localhost:*:databasename:username:password