Re: ~/pgpass

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Oluwatope Akinniyi <tope(dot)akinniyi(at)shepherdhill(dot)biz>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: ~/pgpass
Date: 2005-08-14 21:28:25
Message-ID: 20050814212825.GC2875@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sun, Aug 14, 2005 at 08:36:17PM +0100, Oluwatope Akinniyi wrote:
> I tried the password file and could not get it to work on both Windows
> XP and Fedora Core 4.
>
> ~/pgpass permission is 0600 on Fedora and I tested using psql and
> pg_dump commands. The two commands prompted for password and target
> database which I expected should not be.

It's ~/.pgpass the dot is important...

--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

In response to

  • ~/pgpass at 2005-08-14 19:36:17 from Oluwatope Akinniyi

Browse pgsql-general by date

  From Date Subject
Next Message CSN 2005-08-14 21:48:21 Apostrophe doesn't show up in command line
Previous Message Mike Fahrenkrog 2005-08-14 19:54:04 Distributed Transactions