Re: Authentication in batch processing

From: Kevin Brannen <kevinb(at)nurseamerica(dot)net>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: Authentication in batch processing
Date: 2002-07-09 14:38:54
Message-ID: 3D2AF57E.9000701@nurseamerica.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Bruce Momjian wrote:
...
>
> 7.3 may remove PGPASSWORD, I think, and instead allow you to specify a
> file that contains the password.

But do you know how many hours it took me to find out about PGPASSWORD
in the docs and now you want to change that? :-)

How about all 4 approaches: on the command-line, from an env-var, from
a file, and finally prompting if there's a tty. Pick any order you want
on the first 3, but flexibility is important, and circumstances do
change over time that may make 1 more desireable then the others.

Just a thought...

Kevin

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2002-07-09 15:03:47 Re: Meaning of message in logfile
Previous Message Bruce Momjian 2002-07-09 14:35:47 Re: createuser --password