Re: No default for (user-specific) service file location on Windows?

Поиск
Список
Период
Сортировка
От Dominique Devienne
Тема Re: No default for (user-specific) service file location on Windows?
Дата
Msg-id CAFCRh-_X1+E2inJeAr3jjttcoSnLpL9kGijcJjhcvxEdp7reSA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: No default for (user-specific) service file location on Windows?  (Julien Rouhaud <rjuju123@gmail.com>)
Ответы Re: No default for (user-specific) service file location on Windows?  (Julien Rouhaud <rjuju123@gmail.com>)
Список pgsql-general
On Thu, May 19, 2022 at 10:17 AM Julien Rouhaud <rjuju123@gmail.com> wrote:
> > Or is it instead a lack of symmetry in the implementations of these
> > two mechanisms?
>
> As far as I can see from the code it should be
> %APPDATA%\postgresql\.pg_service.conf
>
> Does this one work?

Yes it does! Thanks.

> There is a discrepancy (apart from the documentation) as the default
> file name is the same on Linux and Windows.

The doc is explicit about Windows for the password file,
probably should be for the service file as well IMHO.

It's unfortunate that the naming conventions are different.
Might need to be warned about in the doc too. My $0.02.

Could also be changed to try both on Windows, with or w/o the leading dot,
but I suspect this kind of change won't be considered worth implementing :).

Thanks again Julien, --DD



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

Предыдущее
От: Julien Rouhaud
Дата:
Сообщение: Re: No default for (user-specific) service file location on Windows?
Следующее
От: Julien Rouhaud
Дата:
Сообщение: Re: No default for (user-specific) service file location on Windows?