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 1mSXS8-0007ZI-6U for pgsql-committers@arkaria.postgresql.org; Tue, 21 Sep 2021 04:32:21 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mSXS6-00028X-W3 for pgsql-committers@arkaria.postgresql.org; Tue, 21 Sep 2021 04:32:18 +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 1mSXS5-00028O-CB for pgsql-committers@lists.postgresql.org; Tue, 21 Sep 2021 04:32:18 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mSXS2-00040K-Ut for pgsql-committers@lists.postgresql.org; Tue, 21 Sep 2021 04:32:16 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id C46D75C007D; Tue, 21 Sep 2021 00:32:13 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Tue, 21 Sep 2021 00:32:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= date:from:to:subject:in-reply-to:references:message-id :mime-version:content-type:content-transfer-encoding; s=fm2; bh= WGbFeX1vR/3VQ7Cxs8guSJkpI3KslkOV0HmxidQdCCw=; b=Y7xnZzl5zVwdYUUm bB4kiIeo6sMSdorlH58rLWqCDA8O4OPavHbR/WHWK1tvWwNWLdg0tGaZYT8zvvC7 LyU7wf4c1ymvBHCpyKTOwjxjEVN+FJXlBVYkCSn8V90FmYkBsXOpor42OD5kvBrb 10dOtpS9fckNSrmvCelOl2ANfr5YhDDUR7aRtiAYuyOhDefVW8keN+9whzdtIDLH G8n26fM+DFpUzJEHPB9b+UHQge6TDKwsql1X+ix5D6DqUhDBMNzayZR9BTmK3YXG g+XBZdUJNfZsYkYjQyRg3ZLzB0pCEmBK2AahPNURR7bn9j99bLCLMABwQJ56ky58 Oxyl1A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=WGbFeX1vR/3VQ7Cxs8guSJkpI3KslkOV0HmxidQdC Cw=; b=RGscGlvXAjSAPe4vVrW7OY35l1f/n+AlsgnNXw5bCdM3yOBsilUgxB/hK vu68jD3BS0Dkn2oS/S7J70s+Sa9n6MPOI4b+60N7WN2oRPAAo7Vhwomjykuq8rug 97vrpRdYX1/548ROmO6zCCj+rEcVTMSIKTmBjEckumNOSUsP4obOl5Odk1uvacot PqwOMJyabTz00shoLD/+/GUw0ni+4gy6EhflGNQJOezIWjJXScAs6ZScu+gKUARr GckISeX3FzLlXDz4OJnJfMakt7vwjL/DB4sf6jD6QRudV5Z2BeWe6hyc6H4RkRzY XqXk/4tyF8m/nc8IT0xKBk4Lzq84g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudeifedgkeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdlfeehmdenucfjughrpeffhffvufgfjghfkfggtgfgsehtqhhmtddt reejnecuhfhrohhmpeetnhgurhgvshcuhfhrvghunhguuceorghnughrvghssegrnhgrrh griigvlhdruggvqeenucggtffrrghtthgvrhhnpeeftddthfelhfefheehkeejgeehfeeh vdfhgfdtieevudegveekleefgfdvgeehvdenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpegrnhgurhgvshesrghnrghrrgiivghlrdguvg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 21 Sep 2021 00:32:12 -0400 (EDT) Date: Mon, 20 Sep 2021 21:32:09 -0700 From: Andres Freund To: pgsql-committers@lists.postgresql.org, Michael Paquier Subject: Re: pgsql: Support "postgres -C" with runtime-computed GUCs User-Agent: K-9 Mail for Android In-Reply-To: References: <20210921032040.lyl4lcax37aedx2x@alap3.anarazel.de> Message-ID: <216D2155-018C-4FFB-8FE3-73CAA5A3FEE1@anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi,=20 On September 20, 2021 8:47:24 PM PDT, Michael Paquier wrote: >On Mon, Sep 20, 2021 at 08:20:40PM -0700, Andres Freund wrote: >> So the problem is that -C data_checksums requires permissions to be dro= pped, >> but the way it's invoked here that's not guaranteed=2E=2E=2E And I don'= t think we >> should remove that requirement, given that we're actually doing stuff t= o the >> lock file=2E=2E=2E > >Hmm=2E One way I can think of to keep the test would be something like >that to avoid problems with pg_ctl redirecting the server's stderr to >stdout (hence the tweak for log_min_messages): >pg_ctl start -s -o '-C data_checksums -c log_min_messages=3Dfatal' Yes, that should work=2E Although error should suffice=2E FWIW, I think it'd be good to hide that message in the -C case=2E >This would print the parameter, while getting to stderr mostly a >"could not start server"=2E Would that work for you? Yes, I think so=2E Andres --=20 Sent from my Android device with K-9 Mail=2E Please excuse my brevity=2E