Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nrgry-0007KE-Pc for pgsql-general@arkaria.postgresql.org; Thu, 19 May 2022 14:11:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nrgrw-0004Ej-PQ for pgsql-general@arkaria.postgresql.org; Thu, 19 May 2022 14:11:12 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nrgrw-0004Ea-8u for pgsql-general@lists.postgresql.org; Thu, 19 May 2022 14:11:12 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nrgrt-0000PI-FQ for pgsql-general@lists.postgresql.org; Thu, 19 May 2022 14:11:10 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 24JEB6Kx164664; Thu, 19 May 2022 10:11:06 -0400 From: Tom Lane To: Julien Rouhaud cc: Dominique Devienne , "pgsql-generallists.postgresql.org" Subject: Re: No default for (user-specific) service file location on Windows? In-reply-to: <20220519095256.fyhnn72xwp2wbtdh@jrouhaud> References: <20220519095256.fyhnn72xwp2wbtdh@jrouhaud> Comments: In-reply-to Julien Rouhaud message dated "Thu, 19 May 2022 17:52:56 +0800" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <164662.1652969466.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Thu, 19 May 2022 10:11:06 -0400 Message-ID: <164663.1652969466@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Julien Rouhaud 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 i= t would > add unnecessary pain for users that do know and rely on the current defa= ult. 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. 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