Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uuQ2x-00959x-DU for pgsql-hackers@arkaria.postgresql.org; Fri, 05 Sep 2025 06:35:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1uuQ2v-00551B-Op for pgsql-hackers@arkaria.postgresql.org; Fri, 05 Sep 2025 06:35:42 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uuQ2v-005512-1h for pgsql-hackers@lists.postgresql.org; Fri, 05 Sep 2025 06:35:41 +0000 Received: from fhigh-b2-smtp.messagingengine.com ([202.12.124.153]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uuQ2r-000fG1-0p for pgsql-hackers@lists.postgresql.org; Fri, 05 Sep 2025 06:35:41 +0000 Received: from phl-compute-01.internal (phl-compute-01.internal [10.202.2.41]) by mailfhigh.stl.internal (Postfix) with ESMTP id CCD237A0437; Fri, 5 Sep 2025 02:35:35 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-01.internal (MEProxy); Fri, 05 Sep 2025 02:35:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm1; t=1757054135; x=1757140535; bh=E+KL8ot4+C zsY+2sUdi5O/VA/h4U/yGmdbXegO2f2zo=; b=F+/NfquGtcU04jXMGg4eGlQMmy 1vbNV68F18DBzNPaytIDVqPTCQNVKAGFUyqVwvgxS2GYYQuVXMCYpYlJTq9cQK3a Dm/m/oDlrQ+DyaifeKZAY0B0ku9Xf0TNVb8fN9MoQzJYHBOAE0MCd6yAxjzzVod9 OJV9k0w9qVgQ7FsvD61Vpnk6YJY0YwopKa07lIp8lzcjxLrz9emcpy7K64DkfUi6 MHq+Sa4zD9lL37DQ3zJk5/Lc6mJKdIehQXoGFbGny2R9h7HPbIJNNeQkTSShEt5h NZJ7zR3LvpvA7U4MeYq0ThAEk9AGHFncgji4vtoouL/WE5Sw3n5AKyLS71sA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1757054135; x=1757140535; bh=E+KL8ot4+CzsY+2sUdi5O/VA/h4U/yGmdbX egO2f2zo=; b=LuSzuQZySomKv06+7jTr8mCe1uPm8xsVjWy6GaIQTlxjH7JtkyC hxqRjFe8e7Y/zmr6TW7536I74KU68dFgLNFj/NCl/oCGb9Rq5ZCuxLwmf3slztJI aoh+9reG/lL5mf4LNdJV52EsGbFU6sJjwgVFZ6oAUgD/myuioG2xw/UdRsS7wf7n HfpTayyHNOaPiLBq1EkHl/6TTE/CWR5c8V4uRPjXLytxV0zNIGqX9KcPx6IyEC6u CCPLOl9xw8ZVe0vwDrA3Q/ZCP1A+6YADKFU6QAig4fViKTGgml+R80xcC3mLeJqb qBifu1HAS4X5vSthwwqBfk4ncZNYwZ8hj2g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggdekudekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceurghi lhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnegfrhhluc fvnfffucdljedtmdenucfjughrpeffhffvvefukfhfgggtuggjsehgtderredttddvnecu hfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesphgrqhhuih gvrhdrgiihiieqnecuggftrfgrthhtvghrnhepteelieefudffhffhtdetleeggeegfffh keeuveetiefgudduvedutefggeeivdejnecuvehluhhsthgvrhfuihiivgeptdenucfrrg hrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiihiidpnhgs pghrtghpthhtohephedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepnhgrthhhrg hnuggsohhsshgrrhhtsehgmhgrihhlrdgtohhmpdhrtghpthhtohepthhglhesshhsshdr phhghhdrphgrrdhushdprhgtphhtthhopehnihhtihhnmhhothhirghnihesghhoohhglh gvrdgtohhmpdhrtghpthhtohephhgrnhhnuhhksehgohhoghhlvgdrtghomhdprhgtphht thhopehpghhsqhhlqdhhrggtkhgvrhhssehlihhsthhsrdhpohhsthhgrhgvshhqlhdroh hrgh X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 5 Sep 2025 02:35:33 -0400 (EDT) Date: Fri, 5 Sep 2025 15:35:21 +0900 From: Michael Paquier To: Nathan Bossart Cc: Tom Lane , Nitin Motiani , Hannu Krosing , PostgreSQL Hackers Subject: Re: pg_upgrade: transfer pg_largeobject_metadata's files when possible Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="vy60Z4BAI0+lYpGL" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --vy60Z4BAI0+lYpGL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Sep 04, 2025 at 08:23:58PM -0500, Nathan Bossart wrote: > Ah, I'd forgotten about EXTRA_INSTALL. That simplifies things. There's > enough special handling for large objects in pg_upgrade that I think we > ought to test it end-to-end, so I sneaked it into 006_tranfer_modes.pl. > WDYT? Neat. That works for me. + $old->safe_psql('postgres', q| + CREATE EXTENSION dummy_seclabel; Still I think that this bit is going to fail with installcheck, because src/test/modules/ is not installed by default :) You can make that conditional with check_extension(), like the tricks for injection_points in other TAP tests. The security label creation and test also need to be made conditional. The work is already done with the check on oldinstall, it just needs an extra tweak, so I would store the condition in a separate variable at the top of test_mode() in 006_transfer_modes.pl, or something equivalent. -- Michael --vy60Z4BAI0+lYpGL Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmi6hKkACgkQnvQgOdby QH1Hnw//RHVHt0u1kHC84syfa89QZkubB+8YzDFQp5H1//VwKl+qsDxH+90AuD9s 8bUVpqBYfQI18RP1Us+LMgZ8ADHyWQCWp9DXiMVjxESMoinuN7p6gg2zAw+tpgrr uhmE7NAPysL7e61i7zQh+G0/BhjVg+f8mgnpvYDqb/AHNExDLe5kQZsfbkWQVZ7g Icu8fb5Rpf2JMU8jslbQ+kceh15gMs2++Aa17uLqYoTCl+SodCGrZ2x1MWjb19BQ rG4/l5cn8N7mWQ5Js4dujO/kRgx7pCc/dYjc+bMcDEzm6bgPKpSlIF9Sq9z1Ebzj S6Vk+48ahym+3U22Y7Yl8UG/9W8CEbbjuv5YntITlIN8ggaOr5oVhvTaZCKDpnm1 UJlys/8MVm7CgXVkYwpe+MW5dQRYrN5xMOk6Djcg5wpI0GSE+kP/u7VxOAHow4RP BkiPKryy+inn7Mk6MjWdWwL+Aozr1geo79xbyTFU91yrpUVyW9KY3xVZAVZrjcAC IIOG6P2Oh8suOrevhqR7AhGlpXi0zmT+q25+nXAl86uqmhdUJpUJt3lVjo2vZLqa NSV9qGwxWB2j2WAWGSodWRmuspyyl8OoxMS/RjrcDduLudVOnD9s5tcL0R68xa1x g1CPtBd+nSaxF+fy/swCCQwtYRcMumq8FY8H1dFhHNugzr91jiI= =xwor -----END PGP SIGNATURE----- --vy60Z4BAI0+lYpGL--