pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Julien Rouhaud <rjuju123@gmail.com>
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 10:11:06 -0400
Message-ID: <164663.1652969466@sss.pgh.pa.us> (raw)
In-Reply-To: <20220519095256.fyhnn72xwp2wbtdh@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>

Julien Rouhaud <rjuju123@gmail.com> writes:
> We can't change the default file in older branches obviously, but I'd be a bit
> worried about changing the default in the next major version either as it would
> add unnecessary pain for users that do know and rely on the current default.  I
> guess we have to live with it, and properly document it.

Yeah, agreed.  Documentation fix seems like the way to go.

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.

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.

			regards, tom lane





view thread (10+ messages)  latest in thread

Message-ID: <164663.1652969466@sss.pgh.pa.us>
Permalink:  ../164663.1652969466@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/164663.1652969466@sss.pgh.pa.us

 · 

reply

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: tgl@sss.pgh.pa.us, rjuju123@gmail.com, ddevienne@gmail.com
  Subject: Re: No default for (user-specific) service file location on Windows?
  In-Reply-To: <164663.1652969466@sss.pgh.pa.us>
  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>

* 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