Re: psql shell with no password prompt

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Steve(dot)Toutant(at)inspq(dot)qc(dot)ca
Cc: Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov>, pgsql-admin(at)postgresql(dot)org
Subject: Re: psql shell with no password prompt
Date: 2010-07-27 18:24:04
Message-ID: 1280255044.27165.1461.camel@jd-desktop.unknown.charter.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Tue, 2010-07-27 at 14:16 -0400, Steve(dot)Toutant(at)inspq(dot)qc(dot)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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Kevin Grittner 2010-07-27 18:34:17 Re: psql shell with no password prompt
Previous Message Steve.Toutant 2010-07-27 18:16:09 Re: psql shell with no password prompt