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 1njDkR-0006CB-Hc for pgsql-hackers@arkaria.postgresql.org; Tue, 26 Apr 2022 05:28:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1njDkQ-0001aL-G8 for pgsql-hackers@arkaria.postgresql.org; Tue, 26 Apr 2022 05:28:26 +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 1njDkQ-0001aC-71 for pgsql-hackers@lists.postgresql.org; Tue, 26 Apr 2022 05:28:26 +0000 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1njDkN-0008ET-9a for pgsql-hackers@lists.postgresql.org; Tue, 26 Apr 2022 05:28:25 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 9570B320092F; Tue, 26 Apr 2022 01:28:20 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Tue, 26 Apr 2022 01:28:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1650950900; x=1651037300; bh=1B6zYgrBvid6Ik/0v3hmu5Ym7qEr r/uPjHt8+Yze7bc=; b=rB1OwYByI63r1xFv0FXGCjR4mbLgsOe2gxT6t03SjTsa 260s4Pu1uI6A/AB56YZwrvqA8T5WXdi2gJI/UIq+PDubySqFyCxgEwo8IaKno6f+ k+baiEPLQkbEeutqI5E1NswjLMxBZf5gEFJFnJr+JllfJd5q6yI6KNgdSjb56dwg q20GS/zWDc2yBmDYvx7anqljzeAsJ+2KwLQsHAoQIsXxu7v0OB0C9hpPCbE8Y+6N /mdOkr5m7RRlfy/DuxsCe26/kQNokqco6TlYjbPrfzplDhnBxiZCc892z+PhtGnv fb4sR1vVIAgsBh/RIZLmPrQ78V/eVf1I8c1kczKQaA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedruddvgdelvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvvefukfggtggugfgjsehtkeertddttdejnecuhfhrohhmpeetlhhvrghr ohcujfgvrhhrvghrrgcuoegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhgqe enucggtffrrghtthgvrhhnpedvkedtffduffdtffffheffhfejjefhgfeiueeukeejkeff gfdufffhudffffeuveenucffohhmrghinhepvghnthgvrhhprhhishgvuggsrdgtohhmne cuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghlvhhh vghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 26 Apr 2022 01:28:18 -0400 (EDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 8A78D2A1526; Tue, 26 Apr 2022 07:28:15 +0200 (CEST) Date: Tue, 26 Apr 2022 07:28:15 +0200 From: Alvaro Herrera To: Michael Paquier Cc: Justin Pryzby , =?utf-8?B?5p2O5p2wKOaFjui/vSk=?= , pgsql-hackers@lists.postgresql.org, =?utf-8?B?5pu+5paH5peMKOS5ieS7jik=?= , Zhihong Yu Subject: Re: CLUSTER on partitioned index Message-ID: <202204260528.yfc7jqc64eas@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2022-Apr-26, Michael Paquier wrote: > On Sat, Apr 16, 2022 at 08:58:50PM +0900, Michael Paquier wrote: > > Well, I am a bit annoyed that we don't actually check that a CLUSTER > > command does not block when doing a CLUSTER on a partitioned table > > while a lock is held on one of its partitions. So, attached is a > > proposal of patch to improve the test coverage in this area. > > This was the last reason why this was listed as an open item, so, > hearing nothing, I have applied this patch to add those extra tests, > and switched the item as fixed. Thank you! -- Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/