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

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Bug #756: suggestion: file with password instead of
Дата
Msg-id 200209051641.g85Gfud21906@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Bug #756: suggestion: file with password instead of  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Bug #756: suggestion: file with password instead of  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
Tom Lane wrote:
> 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.

Yes, that is what I am thinking too.  Do other packages allow you to
override the default password file name?  I don't think so.  I don't see
that in .ssh.

OK, next question.  Is this something that can be fixed during beta.  I
sure think so because if we don't we will have even more confusion for
7.4.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Bug #756: suggestion: file with password instead of
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Bug #756: suggestion: file with password instead of