Re: pgsql: Adjust user-facing documentation to explain why we don't check

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: pgsql: Adjust user-facing documentation to explain why we don't check
Дата
Msg-id 200702201840.l1KIeUi15934@momjian.us
обсуждение исходный текст
Ответ на Re: pgsql: Adjust user-facing documentation to explain why we don't check  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: pgsql: Adjust user-facing documentation to explain why we don't check  (Magnus Hagander <magnus@hagander.net>)
Re: pgsql: Adjust user-facing documentation to explain why we don't check  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-committers
Magnus Hagander wrote:
> Bruce Momjian wrote:
> > Andrew Dunstan wrote:
> >> Tom Lane wrote:
> >>> Log Message:
> >>> -----------
> >>> Adjust user-facing documentation to explain why we don't check pgpass
> >>> file permissions on Windows.
> >>>
> >> +On Microsoft Windows, the file is stored in a directory that is secure by
> >> +default, so no special permissions check is made.
> >>
> >>
> >>
> >> I doubt this is true if PGPASSFILE is set.
> >
> > I thought it would be in the user's Application Data directory, or are
> > you saying they might put it somewhere else?
> >
>
> PGPASSFILE takes a full path name, so you can put the file anywhere you
> want. Just like on Unix.

OK, so we _do_ need to check the permissions on pgpass on Win32, but we
just don't know how to do that?

--
  Bruce Momjian  <bruce@momjian.us>          http://momjian.us
  EnterpriseDB                               http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: pgsql: Adjust user-facing documentation to explain why we don't check
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: pgsql: Adjust user-facing documentation to explain why we don't check