From: Julien Rouhaud <rjuju123@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Dominique Devienne <ddevienne@gmail.com>
Cc: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: No default for (user-specific) service file location on Windows?
Date: Thu, 19 May 2022 23:59:53 +0800
Message-ID: <20220519155953.wngi3jx2cpf2ohrn@jrouhaud> (raw)
In-Reply-To: <20220519155322.gd46iiporoqonhp3@jrouhaud>
References: <CAFCRh-_mdLrh8eYVzhRzu4c8bAFEBn=rwoHOmFJcQOTsCy5nig@mail.gmail.com>
<CAOBaU_Y-W+VL_6v4N9U4Q7mrwicF8H-Uyny35JPLVtdW2CYcSg@mail.gmail.com>
<CAFCRh-_X1+E2inJeAr3jjttcoSnLpL9kGijcJjhcvxEdp7reSA@mail.gmail.com>
<20220519095256.fyhnn72xwp2wbtdh@jrouhaud>
<164663.1652969466@sss.pgh.pa.us>
<20220519155322.gd46iiporoqonhp3@jrouhaud>
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.
Attachments:
v2-0001-Document-the-default-location-of-the-PGSERVICEFIL.patch (text/plain, 0B) download
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: rjuju123@gmail.com, tgl@sss.pgh.pa.us, ddevienne@gmail.com
Subject: Re: No default for (user-specific) service file location on Windows?
In-Reply-To: <20220519155953.wngi3jx2cpf2ohrn@jrouhaud>
References: <CAFCRh-_mdLrh8eYVzhRzu4c8bAFEBn=rwoHOmFJcQOTsCy5nig@mail.gmail.com> <CAOBaU_Y-W+VL_6v4N9U4Q7mrwicF8H-Uyny35JPLVtdW2CYcSg@mail.gmail.com> <CAFCRh-_X1+E2inJeAr3jjttcoSnLpL9kGijcJjhcvxEdp7reSA@mail.gmail.com> <20220519095256.fyhnn72xwp2wbtdh@jrouhaud> <164663.1652969466@sss.pgh.pa.us> <20220519155322.gd46iiporoqonhp3@jrouhaud> <20220519155953.wngi3jx2cpf2ohrn@jrouhaud>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox