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.96) (envelope-from ) id 1w23g6-000qHS-35 for pgsql-hackers@arkaria.postgresql.org; Mon, 16 Mar 2026 08:52:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w23g5-008bdE-3D for pgsql-hackers@arkaria.postgresql.org; Mon, 16 Mar 2026 08:51: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.96) (envelope-from ) id 1w23g5-008bd6-0d for pgsql-hackers@lists.postgresql.org; Mon, 16 Mar 2026 08:51:58 +0000 Received: from fout-b2-smtp.messagingengine.com ([202.12.124.145]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1w23g2-00000000OY2-2Yu8 for pgsql-hackers@lists.postgresql.org; Mon, 16 Mar 2026 08:51:57 +0000 Received: from phl-compute-03.internal (phl-compute-03.internal [10.202.2.43]) by mailfout.stl.internal (Postfix) with ESMTP id 79E201D00136; Mon, 16 Mar 2026 04:51:52 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-03.internal (MEProxy); Mon, 16 Mar 2026 04:51:52 -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=1773651112; x=1773737512; bh=vX+Np/aFYI JzuTqGH/xKg4g1kaP9sWuap6uAjCKCLMo=; b=BOF8aR7brhzJEg2ZoTb+sHxQ9m eRvc8CtfJoFiKkcT5L2VnVF687IpnzAbmDuho+5kYpF+N6v2XeF0QFdKed/2PTj0 x1pPoCi0kiLvgQ0cYcFEzEkL39ttrEsCSf6h1SoZKwRqYhH/skO3sbRKT1iP1JoS bkxnTPDYpaVZYsea4o0V9AQFuJhPYNkbon1ow83QCU6ACGb/3kvUrIp3ZOQ82vQV xqzJ5PuCsR1R2O7v7/ojTnbDjC99S4i3kNZF/HiCGk0cjW+FI3mRxCvJPsDGYAlo H0IICdQpwbql22Wz5OORsocDSZFB+eqlpxBMiSDIpUYkYHeJRvxJru3XRhpA== 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= 1773651112; x=1773737512; bh=vX+Np/aFYIJzuTqGH/xKg4g1kaP9sWuap6u AjCKCLMo=; b=wTQVR7inPM3UwGQAzPEDykWFR/OkCL1Fhwq1lXfL10tv3Pwi9uy cXJFCWirDzXuLSO85imN+uenV864YRdV9bnQMonpJMLuYljckCNfmEBQ7bchULOT J/4STQXCSc/GQhr6T8rbYjyrUXLLbhBcSDyqKMpkIvXYNWL2y9CvSMhz7BdRA2K0 eLBMUEOwPZLUVAr76xqdZ2FtIXIrCycFs8f4ZPio2NRIVeIlCjuvI0jtfUU2i5kT bL8URZsa3U+jbmRsvGjUVkHpzlRDExk5/wZuf+8m8hYpb3wW3oLN010j/JFZCa03 LPyqNzHFTWCbCjmDiLQsKB5i0OtM3CzFuSQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgddvleejleegucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnegfrh hlucfvnfffucdljedtmdenucfjughrpeffhffvvefukfhfgggtuggjsehgtderredttddv necuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesphgrqh huihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepteelieefudffhffhtdetleeggeeg fffhkeeuveetiefgudduvedutefggeeivdejnecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiihiidp nhgspghrtghpthhtohepvddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtoheplhhird gvvhgrnhdrtghhrghosehgmhgrihhlrdgtohhmpdhrtghpthhtohepphhgshhqlhdqhhgr tghkvghrsheslhhishhtshdrphhoshhtghhrvghsqhhlrdhorhhg X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 16 Mar 2026 04:51:45 -0400 (EDT) Date: Mon, 16 Mar 2026 17:51:34 +0900 From: Michael Paquier To: Chao Li Cc: Postgres hackers Subject: Re: tablecmds: reject CLUSTER ON for partitioned tables earlier Message-ID: References: <07773235-2E94-478F-BEF6-38C73B0553B8@gmail.com> <16D5D52A-1B99-4371-982E-257C195D2924@gmail.com> <5244008D-79E1-484B-9407-21F5D388EC7F@gmail.com> <075DECA0-5214-4794-A265-5A979E1A49B7@gmail.com> <8A3FAABD-F297-41D1-9B07-20A37E311C29@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="9EPJDhwveaHqQA29" Content-Disposition: inline In-Reply-To: <8A3FAABD-F297-41D1-9B07-20A37E311C29@gmail.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --9EPJDhwveaHqQA29 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 13, 2026 at 11:38:17AM +0800, Chao Li wrote: > On Jan 28, 2026, at 10:15, Chao Li wrote: >> * In 0001, replaced ereport with assert in >> mark_index_clustered(). See my previous email for the analysis.=20 I have looked at this one, and I think that it is right. Even in the CLUSTER/VACUUM path, we have a relkind check before the sole caller of rebuild_relation() that discards partitioned tables, so we would never read mark_index_clustered() under this relkind. Applied. >> * In 0002, removed the redundant check of relispartition from >> * ATExecDropInherit(). I have not looked at this one. -- Michael --9EPJDhwveaHqQA29 Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmm3xJYACgkQnvQgOdby QH24wBAAor/ZSHjiZg+QewQOrM5VfIWfwToZ4MnoS6ysGGxK+Bfc8wFS3KJ+S3Aw I936veoHlstM9pg4JKOHi9AuyW91PWYZhAaCIi1u6gmsTehshQMTH5cuI4wggG6P x0zXT2jR64GufznB0Z8XC9fqpDxY91OQOt+z4bc+B5c4BuFGGbg3CPsPSyzJJyCt 1MjE5pD5YSUS/5KAWWqbNegms5uae90b23keRs5I/ARG1Um/KGnwfVIn3Y4ZCvbX cettZbFPyRlf1mva20dCdOqzGMkc6c7DDnBsTQMwcVdgQ8H4s7xNTlZkP1cRB1Vl WUtzH46fRRug6q9FUzvI1Jqmj7l7wL3RUvQ4mnakgsp6j1STd9j0PHrjP/FqoqhM jt1BLNN5TNhV7yWMIHAZKFA6TGUp4CxBjDCyS03raNmnJCNzIFsO2hgvlZqEKGXD Cwj3ggSrFucEYwWkQDv3kb582XUbN0He6bV2g/3cqcbIjO/oh2CG4Mn+K0oyTcqV ORL5vL9TRQtRyKuE3p0TDfTKCskGbC/ZpPkFdqy+K6MjN6H6Whrhh0GdwcbHlfks nbJ6t6H7HNg9xvBKboalRGWPIAwhBoovmXCeDJsof7DZP2RW67gvbfWAsDful3VD ks1NTHV1FlIcnVTm1VdYdThAq89TxjwvS5MifIRndev0N38RzZQ= =XYIM -----END PGP SIGNATURE----- --9EPJDhwveaHqQA29--