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

From: Julien Rouhaud <rjuju123(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Dominique Devienne <ddevienne(at)gmail(dot)com>, "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 15:59:53
Message-ID: 20220519155953.wngi3jx2cpf2ohrn@jrouhaud
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, May 19, 2022 at 11:53:22PM +0800, Julien Rouhaud wrote:
> On Thu, May 19, 2022 at 10:11:06AM -0400, Tom Lane wrote:
> > I do not like your proposed wording, as it seems way too dense.
> > Can't we avoid the parenthetical remarks (plural) inside a sub-clause?
> > You're asking the reader to keep track of about three levels of
> > interrupt.
>
> Yes, I was a bit unhappy with this wording.
>
> > Maybe just put the Windows info in a separate sentence:
> >
> > ... located at ~/.pg_service.conf</filename>.
> > On Microsoft Windows, it is located at
> > %APPDATA%\postgresql\.pg_service.conf, where %APPDATA% means the
> > Application Data subdirectory in the user's profile.
> > In either case, the location can be overridden by setting ...
> >
> > ISTR there's precedent elsewhere for doing it about like that.
>
> I'm fine with it. I still kept the default location full description in both
> places as those end up in quite different part of the documentation, which
> seems more helpful.

This time with the patch.

Attachment Content-Type Size
v2-0001-Document-the-default-location-of-the-PGSERVICEFIL.patch text/plain 2.5 KB

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2022-05-19 22:38:46 Re: No default for (user-specific) service file location on Windows?
Previous Message Julien Rouhaud 2022-05-19 15:53:22 Re: No default for (user-specific) service file location on Windows?