Re: psql shell with no password prompt - Mailing list pgsql-admin

From Joshua D. Drake
Subject Re: psql shell with no password prompt
Date
Msg-id 1280255044.27165.1461.camel@jd-desktop.unknown.charter.com
Whole thread Raw
In response to Re: psql shell with no password prompt  (Steve.Toutant@inspq.qc.ca)
Responses Re: psql shell with no password prompt  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
List pgsql-admin
On Tue, 2010-07-27 at 14:16 -0400, Steve.Toutant@inspq.qc.ca wrote:
>
> Thanks Kevin,
> Which of these 2 methods is the best practice?
>
> It is working with pgpass.
> But not yet with hba.conf
> I tried this without success.
> host    all         all         127.0.0.1/32          trust
>
>
> steve

Best practice? Use .pgpass, not trust.

JD

--
PostgreSQL.org Major Contributor
Command Prompt, Inc: http://www.commandprompt.com/ - 509.416.6579
Consulting, Training, Support, Custom Development, Engineering
http://twitter.com/cmdpromptinc | http://identi.ca/commandprompt

pgsql-admin by date:

Previous
From: Steve.Toutant@inspq.qc.ca
Date:
Subject: Re: psql shell with no password prompt
Next
From: "Kevin Grittner"
Date:
Subject: Re: psql shell with no password prompt