Re: Password entry in pgadmin3; pg_hba.conf vs .pgpass. Permissioning issue?

From: Raymond O'Donnell <rod(at)iol(dot)ie>
To: Andrew Taylor <andydtaylor(at)gmail(dot)com>
Cc: Dave Page <dpage(at)pgadmin(dot)org>, Fernando Hevia <fhevia(at)gmail(dot)com>, Pgadmin-Support <pgadmin-support(at)postgresql(dot)org>
Subject: Re: Password entry in pgadmin3; pg_hba.conf vs .pgpass. Permissioning issue?
Date: 2012-12-04 17:01:11
Message-ID: 50BE2C57.6070901@iol.ie
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

On 04/12/2012 16:56, Andrew Taylor wrote:
> Hi Guys,
>
> Thanks for your help. I have this working but don't completely
> understand what I did.
>
> 1. Here is how the .pgpass file was originally written by pgadmin:
>
> 127.0.0.1:5432:*:postgres:Password
> :5432:*:django_dev:Password
>
> 2. This is the amended version which allows pgadmin to automatically
> connect to the server. All I have done is add line 3. All 3 lines seem
> to be required to log on to the server.
>
> 127.0.0.1:5432:*:postgres:Password
> :5432:*:django_dev:Password
> localhost:5432:*:django_dev:Password

Is that second line faulty? Shouldn't the first field contain either a
hostname, an IP address or "*", but not simply nothing?

Ray.

--
Raymond O'Donnell :: Galway :: Ireland
rod(at)iol(dot)ie

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Andrew Taylor 2012-12-04 17:33:16 Re: Password entry in pgadmin3; pg_hba.conf vs .pgpass. Permissioning issue?
Previous Message Andrew Taylor 2012-12-04 16:56:13 Re: Password entry in pgadmin3; pg_hba.conf vs .pgpass. Permissioning issue?