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 1nriZM-0003XS-BP for pgsql-general@arkaria.postgresql.org; Thu, 19 May 2022 16:00:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nriZK-0000Lr-KV for pgsql-general@arkaria.postgresql.org; Thu, 19 May 2022 16:00:06 +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 1nriZK-0000Li-5O for pgsql-general@lists.postgresql.org; Thu, 19 May 2022 16:00:06 +0000 Received: from mail-pf1-x429.google.com ([2607:f8b0:4864:20::429]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nriZD-0001KX-EQ for pgsql-general@lists.postgresql.org; Thu, 19 May 2022 16:00:05 +0000 Received: by mail-pf1-x429.google.com with SMTP id k16so5530565pff.5 for ; Thu, 19 May 2022 08:59:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=gf0qTQ3YNQhDwciVQmxJMtgCZliJirkR9txAQV4WD3Y=; b=km7UBm7KQCJOCMUy6c38KbFFY5NDOmJvBqzCRlZY+RDs1K3qOi193dikXB9LdqqK2r CL3NglXd0CHYHdeRCLpMIR6z5jZ1M48YX8WfIkj5NF3t7Jy+VAP0xyTw04YgO7stpcHK Xq4GUI6eRd63A+y7U4iNrpVCk4wGqJqQktHO8XsJ8p+kpjVFq1GGrRwbeG9YoX99LD2u nQqrs2a0JCyoa2c4Q+DukxtgWUkkk2VdMGL8Ym/t57M8UJRzo/ElR/jD9SDAoFDT+J6L DP74I3vCKt/AeH8tj2zVpV+Rjh5YwXZtCI9pPSQkEXJhRk22ZLTz43V6eOOG94+GeJfo zFFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=gf0qTQ3YNQhDwciVQmxJMtgCZliJirkR9txAQV4WD3Y=; b=UEmAw9BnVZkEMduH6WGvfrcqnUcQBes1eKm7uBKnyJYlKsgUCDZU4zFYC/Hp0ZJGCI mwwzhvzpRwpKFOrB1lnk9yx3gNYvdOZEc+TBiICv//BxOneOy5r3szJsqi2EpKJukUIf mKWeRhnQ81UKutCAbsq/QxbFcMMKZTnLvXthlC+ZQ3cHEfCOnYmcG3khMpG14OaH5+Ox W3/EMwFnIi32GI4Jtylp67bu4KAUtX1fRY7b0if27IWkXfvw4K8vfV18n6E2rQT5kGJV 6rFsdOZ+BqVPJdTqCVToUCuu5E65upUXLqQsL+jGnbB3vLANP2Seb8kOmXLko3aDAewG 8vrw== X-Gm-Message-State: AOAM5328G0d6nS0BQ6mQMyivQ4nXdLa89pKHMOSOMlXTcwHuyzK4U4c+ uFHb7qFQfOj+TP5vvg2o23M= X-Google-Smtp-Source: ABdhPJwmdmLvAMeoBwRvuwK3+BfGClaI6NCDHrFVN28ARN9TLgC0kBWKx8fRr1cJfkjtATg0nuCiZQ== X-Received: by 2002:a63:6904:0:b0:3c6:5a3c:64bd with SMTP id e4-20020a636904000000b003c65a3c64bdmr4477163pgc.371.1652975998330; Thu, 19 May 2022 08:59:58 -0700 (PDT) Received: from jrouhaud (2001-b011-1005-b261-694e-1e4d-0fc9-c189.dynamic-ip6.hinet.net. [2001:b011:1005:b261:694e:1e4d:fc9:c189]) by smtp.gmail.com with ESMTPSA id z27-20020aa7949b000000b0051841e6630esm1789011pfk.199.2022.05.19.08.59.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 May 2022 08:59:57 -0700 (PDT) Date: Thu, 19 May 2022 23:59:53 +0800 From: Julien Rouhaud To: Tom Lane Cc: Dominique Devienne , "pgsql-generallists.postgresql.org" Subject: Re: No default for (user-specific) service file location on Windows? Message-ID: <20220519155953.wngi3jx2cpf2ohrn@jrouhaud> References: <20220519095256.fyhnn72xwp2wbtdh@jrouhaud> <164663.1652969466@sss.pgh.pa.us> <20220519155322.gd46iiporoqonhp3@jrouhaud> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="of7waxek53ciwe5w" Content-Disposition: inline In-Reply-To: <20220519155322.gd46iiporoqonhp3@jrouhaud> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --of7waxek53ciwe5w Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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. > > 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. --of7waxek53ciwe5w Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="v2-0001-Document-the-default-location-of-the-PGSERVICEFIL.patch"