Re: Bug #756: suggestion: file with password instead of - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Bug #756: suggestion: file with password instead of
Date
Msg-id 20725.1031243817@sss.pgh.pa.us
Whole thread Raw
In response to Re: Bug #756: suggestion: file with password instead of  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: Bug #756: suggestion: file with password instead of  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-bugs
Bruce Momjian <pgman@candle.pha.pa.us> writes:
>>> Is there a default file name like ~/.pgpassword so that this feature
>>> can be used without setting yet another environment variable?

> Is there a good reason for a default for this?

Well, most of the other packages I can think of have hard-wired
assumptions about names like "$HOME/.cvspass".  If we have such a
default then there's little need for a PGPASSWORDFILE environment
variable at all.  Perhaps we should go with the historical custom
and remove the env var in favor of a hardwired filename in $HOME.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Rod Taylor
Date:
Subject: Re: Bug #756: suggestion: file with password instead of
Next
From: Bruce Momjian
Date:
Subject: Re: Bug #756: suggestion: file with password instead of