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 1ry0tU-00E07W-3P for pgsql-hackers@arkaria.postgresql.org; Sat, 20 Apr 2024 02:56:00 +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 1ry0tS-007C4z-Bu for pgsql-hackers@arkaria.postgresql.org; Sat, 20 Apr 2024 02:55:58 +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 1ry0tS-007C4r-36 for pgsql-hackers@lists.postgresql.org; Sat, 20 Apr 2024 02:55:58 +0000 Received: from fhigh4-smtp.messagingengine.com ([103.168.172.155]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ry0tP-001uVp-P0 for pgsql-hackers@postgresql.org; Sat, 20 Apr 2024 02:55:57 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailfhigh.nyi.internal (Postfix) with ESMTP id F2D49114011E; Fri, 19 Apr 2024 22:55:53 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Fri, 19 Apr 2024 22:55:53 -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=fm3; t=1713581753; x=1713668153; bh=ebze4QSj4i jCbs1XWjCUHDY/4owwQAXn5TXG64VcT+s=; b=paPOR4i4Yh/sohe96TjDRWAx87 RxEN7ZLoEa16I7LN/tQQcdE1mxAtGF0dDRkBZ70t+iQq+xk3RtcExvgx3zPaxgff FlyAHizAIgL8b2ZSppJBikboGo2M2Z/bpY96eopWBXMPiotD8ToyXk0+jekxiKGX jcWTXN3d5kNdT8hr5uhhnMUPOGMLOnMFJ7KW+Uyj/VhmCz9GIw7bBAqt5ClNrArJ UdjZ0OdhiX7OISXH4cZWjWzjvAAKYYtkvmnLL//bl79mSZq1JhyP/sILLnf54sdq /BTnN3wUdnoLREc9QH1wmKVXpvRwHUFBcOFLn6cHT9S5xFMCARvv4bXQQHjw== 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-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1713581753; x=1713668153; bh=ebze4QSj4ijCbs1XWjCUHDY/4oww QAXn5TXG64VcT+s=; b=X504WNV8HcSONUZzwnB4oIpeJ3BhcI20oSbP92u5eMoS RmOYvvOzjzh+awUo5nOMJlA5IMIMW0jIf2MY/ERMeSQ4bZVU5N8vCWCC8JlLp701 Yg2tt4ZdoJaIScJ2oZLXy1c5fxZzTG+ZMoAJwRDUFpNf73pAuIBMrcswYnqKaU71 VsP3TPYpK+KG8j2HFNlZXZbCWr7vY3K9O7embGLPy/k+ZChfDcVd7Oiep6S5GG46 TTFaargK1ak+GDen30LFH7UGJX9K9f1Fn//wIQuuiQRYrAGEcIxrpDJeiVmoWZcr +WJ1/r9OKZKgIM8hPbVzAlGEAz6VyjyEYodhroyU2Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrudekfedgieehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvvefukfhfgggtuggjsehgtdorredt tddvnecuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesph grqhhuihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepffduleehgefhkeefgfeftdfh kedutddvhfdukeeggeehieekffelhfelkeehteefnecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiih ii X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 19 Apr 2024 22:55:50 -0400 (EDT) Date: Sat, 20 Apr 2024 11:55:46 +0900 From: Michael Paquier To: Alvaro Herrera Cc: Tom Lane , Justin Pryzby , Alexander Lakhin , Peter Eisentraut , Soumyadeep Chakraborty , Zhihong Yu , pgsql-hackers@postgresql.org, Ashwin Agrawal , vanjared@vmware.com Subject: Re: ALTER TABLE SET ACCESS METHOD on partitioned tables Message-ID: References: <202404181617.fkow5ghqjcqs@alvherre.pgsql> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="afKtIBXuDHqQ1AdI" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --afKtIBXuDHqQ1AdI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Apr 19, 2024 at 10:41:30AM +0900, Michael Paquier wrote: > This comes from the contents of the dump for > regress_pg_dump_table_am_2, that uses heap as table AM. A SET is > issued for it before dumping regress_pg_dump_table_am_parent and its > partitions. One trick that I can think of to make the output parsing > of the test more palatable is to switch the AMs used by the two > partitions, so as we finish with two SET queries before each partition > rather than one before the partitioned table. See the attached for > the idea. FYI, as this is an open item, I am planning to wrap that at the beginning of next week after a second lookup. If there are any comments, feel free. -- Michael --afKtIBXuDHqQ1AdI Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmYjLrIACgkQnvQgOdby QH2hdg//f0zFp3r+yu9+Kr7rB02TZqziYLrNzjXuBliTHE9noneDaQbDziAHBKjs TssvGJ7QFaxglR9f6l0hVaNHQg6DrX6qCtYErSoNAIAvfzpPOV7gotdyUpuIBnl/ 2f8JedvgzByDZn3aNO5HM+U5Z5wW4vO/xZFIm5U5XI7w/vIL/3btIso4WeCPwsZ4 gS09vxpsnwuS4TpEKbnqTYJkloPNdF7a5i7DPFwdd/3vvJ90UQEaBc6cjhRQzi5/ z5maC5HYp35m1x5LNqFeXhmxMCOaqe0E+W7RAkgE7Yp+vh6K6eB/O+jgCXt1FR6t TuWE0sO8upmXy7YWL9fGW/q3wjN0jSs4bUvLdUfn9ZzW5+NbuRaStYwm/JqIytwX xDDXfIpiZkHJ78AFCbDeIiR1KzwDHqk0tFd+LLoerBIdWyYzWZEAZLkVO0tqH5lh fOgcUxB0FbJSF2zV9iv2xrlxEjN9iNFN7VzEI3r1pJtIxorf4cmS/1DJRbh/Zwgv AhnCfpSpox7PoQsz0HRBxuJS01N1JQ8XxxqMzYX4XMNiiQpIOygppaMiygX48Fiy I4RKX/D6jp7MF1S1K+hvmVvZw2Phh7jFig4K53vEVzTx+FtPPAFbxrXYBGWolNqd z5+3/J6HrrAoICIz0H1NG7+8YwfG84wL3C1ao6GVejA84W0jpeo= =lZvl -----END PGP SIGNATURE----- --afKtIBXuDHqQ1AdI--