Re: Automating logins for mundane chores

From: Decibel! <decibel(at)decibel(dot)org>
To: Phoenix Kiula <phoenix(dot)kiula(at)gmail(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Automating logins for mundane chores
Date: 2007-08-23 17:40:08
Message-ID: B9694866-E480-4B55-A0BF-1613FA7DDB1A@decibel.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Aug 18, 2007, at 5:20 AM, Phoenix Kiula wrote:
> I am writing some simple batch scripts to login to the DB and do a
> pg_dump. Also, when I login to do my own SQL tinkering, I'd like not
> to be asked for a password every time (which, for silly corporate
> reasons, is quite a convoluted one).
>
> So I read up on .pgpass.

FWIW, *IF* you can trust identd in your environment, I find it to be
easier to deal with than .pgpass or the like.
--
Decibel!, aka Jim Nasby decibel(at)decibel(dot)org
EnterpriseDB http://enterprisedb.com 512.569.9461 (cell)

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Joshua D. Drake 2007-08-23 17:42:34 Re: Adapter update.
Previous Message Decibel! 2007-08-23 17:36:46 Re: Seeking datacenter PITR backup suggestions