From: | Dominique Devienne <ddevienne(at)gmail(dot)com> |
---|---|
To: | Julien Rouhaud <rjuju123(at)gmail(dot)com> |
Cc: | "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org> |
Subject: | Re: No default for (user-specific) service file location on Windows? |
Date: | 2022-05-19 08:57:55 |
Message-ID: | CAFCRh-_X1+E2inJeAr3jjttcoSnLpL9kGijcJjhcvxEdp7reSA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Thu, May 19, 2022 at 10:17 AM Julien Rouhaud <rjuju123(at)gmail(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Julien Rouhaud | 2022-05-19 09:52:56 | Re: No default for (user-specific) service file location on Windows? |
Previous Message | Julien Rouhaud | 2022-05-19 08:17:42 | Re: No default for (user-specific) service file location on Windows? |