Re: Bug #756: suggestion: file with password instead of

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Rod Taylor <rbt(at)zort(dot)ca>, Reinhard Max <max(at)suse(dot)de>, pg(at)wojtus(dot)net, pgsql-bugs(at)postgresql(dot)org
Subject: Re: Bug #756: suggestion: file with password instead of
Date: 2002-09-05 16:36:57
Message-ID: 20725.1031243817@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-patches

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2002-09-05 16:41:56 Re: Bug #756: suggestion: file with password instead of
Previous Message Rod Taylor 2002-09-05 16:33:53 Re: Bug #756: suggestion: file with password instead of

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2002-09-05 16:41:56 Re: Bug #756: suggestion: file with password instead of
Previous Message Rod Taylor 2002-09-05 16:33:53 Re: Bug #756: suggestion: file with password instead of