Re: Windows pgpass Problems.. - Mailing list pgsql-admin

From Eric Emerton
Subject Re: Windows pgpass Problems..
Date
Msg-id 41A1CBC76FDECC42B67946519C6677A90245F925@pippin.int.etrials.com
Whole thread Raw
In response to Windows pgpass Problems..  ("Eric Emerton" <Eric.Emerton@etrials.com>)
List pgsql-admin

> I have been stuggling all day with the pgpass ability on 8.0 Postgres - on Windows 2000.   I have been to the
documentation:<http://www.postgresql.org/docs/8.0/interactive/libpq-pgpass.html>After reading many threads on similar
problems,I just cannot seem to get a batch file to recognize that pgpass is there.   I have dropped it into the
Applicationdata directory postgresql\pgpass.conf of 'Administrator', (My windows username), 'postgres', 'All Users',
etc,etc.    The contents I have tried for the pgpass file areeach of the combinations of: 
>
> localhost:5432:<mydbname>:<dbusername>:<the password>
> 127.0.0.1:5432:<mydbname>:<dbusername>:<the password>
> localhost:*:<mydbname>:<dbusername>:<the password>
> 127.0.0.1:*:<mydbname>:<dbusername>:<the password>
> ..and many others
>
> <dbusername> has been postgres and other test superuser accounts.   Nothing seems to work.  I have restarted
postgres,restarted windows, and it simply wont take.. 
>
> Regards,
> Eric Emerton
>

pgsql-admin by date:

Previous
From: "Eric Emerton"
Date:
Subject: Windows pgpass Problems..
Next
From: "Eric Emerton"
Date:
Subject: Re: Windows pgpass Problems..