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 1lr9bR-0005ud-W5 for pgsql-hackers@arkaria.postgresql.org; Thu, 10 Jun 2021 01:35:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lr9bQ-0006Ms-UO for pgsql-hackers@arkaria.postgresql.org; Thu, 10 Jun 2021 01:35:24 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lr9bQ-0006Mk-Mk for pgsql-hackers@lists.postgresql.org; Thu, 10 Jun 2021 01:35:24 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lr9bO-0005PL-T8 for pgsql-hackers@postgresql.org; Thu, 10 Jun 2021 01:35:24 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id B41675C017D; Wed, 9 Jun 2021 21:35:21 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Wed, 09 Jun 2021 21:35:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=XTWEnUYJGY3ExOyTBexqCZG/jWg slMVU5CmoCM1PudY=; b=szjFaKa4caymQh1NxOBdJjBDFC0aVJFg9bNv93nHhWR WpHgyoa06gXH79A607Hzhzbbev/Vea/CzTzT/ckYqJ+dnEC2d43TydMNMX50RZ0u e6WbLPHh6KbsDWOqmq/kFJ1SzQZFbbAnBUP5joYrvHnWbFbvU79y078jnUdWDkEP ibKGhcKG0YbRW9WfghgzDMQ2dyo399E/4n2vnZKAGsgLUq4t3kcGd0BrBHQLY8dU vw96YiztHdEi6KMmalvzPrpfcEn1faULZmV7rVG1JgWx33A0H/PmIkqVv8d/jslP L+31zkGMWMfWPhSVqULUbYThg0n5nH7aJZ49b81a+DQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc: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=XTWEnU YJGY3ExOyTBexqCZG/jWgslMVU5CmoCM1PudY=; b=IzUtQBrejMisWJAYp0Onr6 RNMTIR8bbkQ0S21Z0PNki5w3VHTl+W8GpjsWGgsaQWQCeprQw83syklOfRyJKEVO ivmQkORUW5+eMqg5hlGokIssxRW62lDvIqXw6VPWkPF35yZIKx+1/nBlG6u8YcYW OvIIR9l2TJem0baD2UimvtSS3kG2qbgRFYpX93p+H784/tOFbPo3kvCdIFvpjKGS Q29utDa6mdQgQNTX7edZs5O1ESVP4vC+i6/EBmhteP4g2nQ1kxBxpGpOUnZnz7X2 3iSiBToZKjk6tQH7BVJpj1zRPPR6dh/vBaNftV3X4Nax/57OvM4U4pUOMjAP8jQA == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfeduvddggeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddt vdenucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprg hquhhivghrrdighiiiqeenucggtffrrghtthgvrhhnpedvgeduuefhtdeuleettdevjeeh heeiveeuieegleetgeeljeelieeuieehgeevhfenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehmihgthhgrvghlsehprghquhhivghrrdighiii X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 9 Jun 2021 21:35:18 -0400 (EDT) Date: Thu, 10 Jun 2021 10:35:16 +0900 From: Michael Paquier To: Justin Pryzby Cc: "Bossart, Nathan" , Fujii Masao , k.jamison@fujitsu.com, Thomas Munro , pgsql-hackers@postgresql.org, Nitin Jadhav Subject: Re: please update ps display for recovery checkpoint Message-ID: References: <20201211040210.GZ24052@telsasoft.com> <59A309AA-87C4-457E-A9D4-922BC5A418BA@amazon.com> <20210607021348.GA14099@telsasoft.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="2tu3e64uF/4Zj3jk" Content-Disposition: inline In-Reply-To: <20210607021348.GA14099@telsasoft.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --2tu3e64uF/4Zj3jk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sun, Jun 06, 2021 at 09:13:48PM -0500, Justin Pryzby wrote: > Putting this into fd.c seems to assume that we can clobber "ps", which is fine > when called by StartupXLOG(), but it's a public interface, so I'm not sure if > it's okay to assume that's the only caller. Maybe it should check if > MyAuxProcType == B_STARTUP. I would be tempted to just add that into StartupXLOG() rather than implying that callers of SyncDataDirectory() are fine to get their ps output enforced all the time. -- Michael --2tu3e64uF/4Zj3jk Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmDBbFQACgkQnvQgOdby QH28XxAAmHGjBnOcdVXYBhTRYLxHyJSMgSv6smUHdzq8n+PVHCJRDpDHXsuRHI+P L8NbvjlJfzXedmnL3QrxSlSjhfAj7mNwlJltlTburbTHdeby8dyBrO1ZpmyQwhfe 54KksR2opCyBXsXhkTStO7eHgYPGnm72gKwp8G9y98TB1FhF/ciomavmIPkjNA4z Q2MTi2LG8BCV55f1R4jp8kBYtaj94XcrJtBkjIGJytELBuohbCjJhKkhdWagWpgF eawKzkjgHBQzapmrIwPNU8poOGV6hHa6cz7FMqujypEdm1rUMZnopoODg8A8Lhsp ylhxUrhUqLK6ZlCWmtMyhzQVbVMgaC1z8vXFEwsKz13D+pcw3X46LGu/K9NFhxFD Mdf/DVV8N5Or3lP0Rkqpk4XUzQ9OkO+nqwepykfQJOi2ETSwQ0NSDLf4UNRh0sgr e22mxBPwx/wWA2axQOfgzWhimirh1LmphUqlX4POwNFo5XIx4BTiCHbsylZaDowT g2mnazZ+3c3MIKNN18HBNssk2ceNottDOoV/g2f65brtw/KnoaKyH65uhTBkwiJq tXdwHenfbOuT1+NUvHcmR2Q3+X0VGPrkwuMxwZn2B1/lFXuOXV0PH6dI3wjiwPgO 5PAwPjGbZ6XSZ4rK4rcpSLMJNBXJ4Gj+Um1dUD26HrUDu8nlHmM= =D/Ci -----END PGP SIGNATURE----- --2tu3e64uF/4Zj3jk--