Re: ~/pgpass - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: ~/pgpass
Date
Msg-id 20050816162753.GC32695@alvh.no-ip.org
Whole thread Raw
In response to Re: ~/pgpass  (Oluwatope Akinniyi <tope.akinniyi@shepherdhill.biz>)
List pgsql-general
On Tue, Aug 16, 2005 at 04:54:15PM +0100, Oluwatope Akinniyi wrote:

> On Fedora as:
> 192.168.0.253:5432:hms:sysdba:xxxxx
> where hms is the database and sysdba the username;
>
> I have a the ~/.pgpass inside the home of user tope (i.e. /home/tope).
> I tried with
>
> $ psql

I wonder if you should be using

127.0.0.1:5432:hms:sysdba:xxxxx

instead ...

Or rather, change your psql line to be

$ psql -h 192.168.0.253

--
Alvaro Herrera (<alvherre[a]alvh.no-ip.org>)
"At least to kernel hackers, who really are human, despite occasional
rumors to the contrary" (LWN.net)

pgsql-general by date:

Previous
From: Oluwatope Akinniyi
Date:
Subject: Re: ~/pgpass
Next
From: marcelo Cortez
Date:
Subject: lock problem