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 1nGZIH-0000cT-Sf for pgsql-hackers@arkaria.postgresql.org; Sun, 06 Feb 2022 04:36:58 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nGZHj-000474-NG for pgsql-hackers@arkaria.postgresql.org; Sun, 06 Feb 2022 04:36:23 +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 1nGZHi-00046p-3K for pgsql-hackers@lists.postgresql.org; Sun, 06 Feb 2022 04:36:23 +0000 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nGZHe-0001Gb-1W for pgsql-hackers@lists.postgresql.org; Sun, 06 Feb 2022 04:36:21 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id B26A03200FA9; Sat, 5 Feb 2022 23:36:14 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sat, 05 Feb 2022 23:36:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm3; bh=mWJ2D9vbuna2OPGV/9Btlws2aZjElycXzRcnmL lYoGg=; b=CVzRr+xKqqLjWCU/HsnnwJbKRy05W4b4qOqODW2h8bb5cn0E5d/S9I hwvf0WOtTzcz8ohOrF4ploMH0VmSbE1EJ6Nqmk1DU0ZSuWldscpHlmLW5duPLk5K FfUwhRTY0NeFzRiEPFvLI+7AWXYRBk4f+ITuBoM0ZWt2Q/JfdKgSOEnvW/MpbKKo hgfBK7cwSvhoa6B6XCFpxeNidjdpuLmGDhH+6+TjEQ14nTaaPnm0dPks7ltLQmI6 dkvR36vSgLHjnE4EorEeHLfUjg8OoRrJ0SEQd6eQKGUbFzzLivS9vg8EH8AoiUwa knYSpjsweALj0qguBDBlBkstHrgqrLMA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=mWJ2D9vbuna2OPGV/ 9Btlws2aZjElycXzRcnmLlYoGg=; b=S9oOBzeLxBsNbutD+dUIJ1dIlESxMudIb i2ANpFsIK/U9cuxDbVNSbCWp3VQJZpxy1w4T7UV8bLrxhutnVC31HFtrZkRA1QZj EsJ64KiyUmUo2Q2aBe6v8AHGm7Jqsgln7Zl1c7HnUj3iiDi8Izp8mnAQgB/UIa3e iD3PvaOAnuUGHcEBsVj1xP6wclAWoZOHi7TfqWGLosobTEf808VBwl2ubsFJL+Gy Kfx95yEPFhkpJ7jlGQ3FL1v7IsGRf/rsH0g+/qb4HbewQkbpAPBeaYcmcGZrxE6q TKCe8tLhYLGpAsvA/POZdE/xPKLttsXHG/gn4yLangN2hGg3lrHGg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrhedvgdejvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfg hrlhcuvffnffculdejtddmnecujfgurhepfffhvffukfhfgggtuggjsehgtderredttddv necuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesphgrqh huihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepvdegudeuhfdtueeltedtveejheeh ieevueeigeelteegleejleeiueeiheegvefhnecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiihii X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 5 Feb 2022 23:36:11 -0500 (EST) Date: Sun, 6 Feb 2022 13:36:07 +0900 From: Michael Paquier To: Andrew Dunstan Cc: Justin Pryzby , Peter Eisentraut , Tom Lane , Daniel Gustafsson , Bruce Momjian , pgsql-hackers@lists.postgresql.org Subject: Re: pg_upgrade should truncate/remove its logs before running Message-ID: References: <45e7680a-b617-1397-afa0-35a793aacefe@enterprisedb.com> <20220125164529.GG23027@telsasoft.com> <9f05b844-3a54-5883-9d3b-b5df12cbce88@dunslane.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="iPAhj76XMKo9c/cZ" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --iPAhj76XMKo9c/cZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jan 29, 2022 at 09:53:25AM +0900, Michael Paquier wrote: > On Fri, Jan 28, 2022 at 06:27:29PM -0500, Andrew Dunstan wrote: >> I have committed this. But it will take time to get every buildfarm own >> to upgrade. >=20 > Thanks for that. So, it took me some time to get back to this thread, and looked at it for the last couple of days... The buildfarm client v14 has been released on the 29th of January, which means that we are good to go. I have found one issue while reviewing things: the creation of the new subdirectory and its contents should satisfy group permissions for the new cluster's data folder, but we were not doing that properly as we called GetDataDirectoryCreatePerm() after make_outputdirs() so we missed the proper values for create_mode and umask(). The rest looked fine, and I got a green CI run on my own repo. Hence, applied. I'll keep an eye on the buildfarm, in case. -- Michael --iPAhj76XMKo9c/cZ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmH/UDcACgkQnvQgOdby QH0rnQ//fW2Rh41y/HiiY0JdjqQThn6Lz1LBkRfH67hp9bl1vrTRNPcgdTxueEAB g8tXVeY6lf0NxpcKWeZhNCOzVTCL33uGylMF11YMr9STAbkPLlG4KSiuWHHSgPsX yG9T8KZb2MgMD5dA1BLuZC4QeIAU/3jc9QyrkCOI2gNPXO7rH4d8fLrWWIgT+ewm IyDmotJhCJ2NMiur+zCQox0VWBUrrcVFDjgvHPXOECiuP94sgYmr2zmE7FgUimbk 4LzwOA9d4QN7yrpd5/Od+z9w+iB13u1/dcK98NLYf5FsVugZdlpSVEcTnUjzCGp0 TmYcuYF97iN5NSbewodLL989H666/ZFfNsaaolrNLlKJ+0LA9qxf7LV7eOqo0CXF Iy79i8tX5F0+XMv5aDRDlWIdq09FleZwJTFE0lUPECJ9WK6Fy8Ij8D70fgmckxlc yR0oC2bssGoa7mY3H+ZeuhtTxju1ElOwR+a05O8KMtzWs+VsTfNCyX2wWp69wdsQ nBNNU04/nQGwXDcb2G+lwB4ZK8mVFB4b8KFzabxKnQ4Q+Exu1gpPbtcYggA5YkDM ArsZLbuHkDr8K+EFmyCsDbfp4tler/Im/iZdR+Dd5thzwa96MuokZeaDFeBUuQHQ ivbMRuZMy19kIwpE3LcifiV0iCFquybXxkrZnyZeMGswGPblXkE= =jK6p -----END PGP SIGNATURE----- --iPAhj76XMKo9c/cZ--