pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Marlowe <smarlowe@g2switchworks.com>
To: Eric Emerton <Eric.Emerton@etrials.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Windows pgpass Problems..
Date: Tue, 06 Sep 2005 15:57:29 -0500
Message-ID: <1126040249.28179.191.camel@state.g2switchworks.com> (raw)
In-Reply-To: <41A1CBC76FDECC42B67946519C6677A902BC0869@pippin.int.etrials.com>
References: <41A1CBC76FDECC42B67946519C6677A902BC0869@pippin.int.etrials.com>

On Tue, 2005-09-06 at 10:24, Eric Emerton wrote:
> 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 Application data 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..

Has it been set to be readable only by the given user who is using it?



view thread (9+ messages)

Message-ID: <1126040249.28179.191.camel@state.g2switchworks.com>
Permalink:  ../1126040249.28179.191.camel@state.g2switchworks.com/
Also on:    postgresql.org/message-id/1126040249.28179.191.camel@state.g2switchworks.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: smarlowe@g2switchworks.com, Eric.Emerton@etrials.com
  Subject: Re: Windows pgpass Problems..
  In-Reply-To: <1126040249.28179.191.camel@state.g2switchworks.com>
  References: <41A1CBC76FDECC42B67946519C6677A902BC0869@pippin.int.etrials.com> <1126040249.28179.191.camel@state.g2switchworks.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox