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 1kFTaN-0001Qa-8Y for pgsql-committers@arkaria.postgresql.org; Tue, 08 Sep 2020 02:42:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kFTaL-0004y2-CY for pgsql-committers@arkaria.postgresql.org; Tue, 08 Sep 2020 02:42:17 +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 1kFTXW-0002OS-9n for pgsql-committers@lists.postgresql.org; Tue, 08 Sep 2020 02:39:23 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kFTXS-0001gr-SM for pgsql-committers@lists.postgresql.org; Tue, 08 Sep 2020 02:39:21 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id D6C5F5C01A8; Mon, 7 Sep 2020 22:39:17 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Mon, 07 Sep 2020 22:39:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=TS6WFvHcW/xlYyzVYmLdX5YrUu6 I15RJp3tYE/UCttQ=; b=Z7qqZ2TZE0HwDvgjS+iYq24En4jqRwx8s48+fY3FSBx OSAjfPoyS33Fh3jo3pUUMDP5CTBPLtzL9qLhPeGIGqZh0QaFe51XnvcWsyPUmHWU mZ3K3uPgXc2I2CnRCyy/OaAXd1TCn0gtTk1cakuNQ5EZ8hcy6JjN5bq/KlrIYmqS NOy06X+8DFyM1ZGcdg2kv2eO7Wtt3vWQ9qhKMeBtt0bp9Ywf0+3hi2V9FcO9Xzli AaK9NzQoJGj0XrLFH2y7zYDOBCf0hoKUq8xEDVzdxVfxDM0bdZLy8AL7wAPtCOuJ f6G/cUjtaN4fvYekK7rgPbpZ/L7dDgZ97QldDv252VQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=TS6WFv HcW/xlYyzVYmLdX5YrUu6I15RJp3tYE/UCttQ=; b=IReTD/+Chci+I3c6AwMTmm 4ZRpkLtKy8ksunX+Wkd1eV/G1TKPIKXC9jMBzhfpL2rnPbD+qGqI57fxVDlpd18J mSUCaXgRJiHtiUHTOc02FDdCMpg71WrNXKcYcfnlMQsJtaUqCMy4LWtGzUL28jBo 3WbOZG520K+IvGCvLVyULelE+5YryOsc+BifMt4jecQgnurNOpRxBK2r1ZNQqxNA O9/SF6UwijNrY+Xf3XmW/tPjWD9ziJJbLd5UiWdoDrE8/4F21hspcjTk35wm82Sa ACItsd9+oxTnCOpfFuXdX2pvAhHAglObf6Qkg/Y+rFq23D3/S98K00x6R27nL/Ew == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudehuddgheelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucgfrhhlucfvnfffucdljedtmdenucfjughrpeffhf fvuffkfhggtggujgesghdtreertddtvdenucfhrhhomhepofhitghhrggvlhcurfgrqhhu ihgvrhcuoehmihgthhgrvghlsehprghquhhivghrrdighiiiqeenucggtffrrghtthgvrh hnpedvgeduuefhtdeuleettdevjeehheeiveeuieegleetgeeljeelieeuieehgeevhfen ucfkphepudduuddruddtvddrudektddrudekheenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehmihgthhgrvghlsehprghquhhivghrrdighiii X-ME-Proxy: Received: from paquier.xyz (ee0822lan1.rev.em-net.ne.jp [111.102.180.185]) by mail.messagingengine.com (Postfix) with ESMTPA id 5791A328005D; Mon, 7 Sep 2020 22:39:16 -0400 (EDT) Date: Tue, 8 Sep 2020 11:39:12 +0900 From: Michael Paquier To: Tom Lane Cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Add support for partitioned tables and indexes in REINDEX Message-ID: <20200908023912.GC19261@paquier.xyz> References: <1725723.1599531385@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="m51xatjYGsM+13rf" Content-Disposition: inline In-Reply-To: <1725723.1599531385@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --m51xatjYGsM+13rf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 07, 2020 at 10:16:25PM -0400, Tom Lane wrote: > Michael Paquier writes: >> Add support for partitioned tables and indexes in REINDEX >=20 > Buildfarm isn't finding the isolation test to be stable. Yes, I have noticed the failure, and waited for more data to gather while thinking about what I could do. I have not come up with anything, at least yet, so for now I have just removed the test. The thing was rather limited as-is as it was able just interact with the first transaction of REINDEX building the list of partitions. Perhaps, by using a fourth session taking a SHARE lock while another uses at least a SHARE UPDATE EXCLUSIVE lock on one of the partitions, it should be possible to make REINDEX wait in one of its inner transactions for a partition. It may be tricky to make that reliable for the buildfarm though. -- Michael --m51xatjYGsM+13rf Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAl9W7tAACgkQnvQgOdby QH2Q0g//R6R0tt9x7j9ltnkyOGdJfsfv5DNrbw+vjackbDZqkSBMJJFiWZho+St8 UrpRDr9dgcKiy3KRupQJMn+bTzoEGl8471km5FAyspxf1Q+F+4jNpuyu1RJZ/y5M Rs1TKUuVNkItYf4KZU34w5r8L21V3+a2F/rex53B59l+0FpldXf2p2VWgl5VKR/1 OrYQs+2rBfQcqT0nDgfUvyKWpeLYg9rXzGBPbHJYtQo0Q8ddHskIzRRUD1HMWq3V 1lTQ4iS9aUDYc70ZpQXab7uAzXFAIvy5W4M+HDY5LkYw5GwgL4et50m5t1CNsNdd V16pRu5XoZQ8L8Waw448liOhjZE/Gt65+qAWgbVToTmaqR6OyVI8E8WLJpEcTN6A 6mrF6LTWp8BFWSRIh/TyMpQvse2lkne7kXYsivSCYpMVpS3lDtfOIMDkw5S1qCbE rJ0cl6DrpK2te+BNMH7QofeAioXs5W3jSUHUiB7+e+dkJKjZT3SkDuaNiygfysCM VL5wzzk2horwd9J5Xb8TWmTnO16e7pAqz8RFNjY7wM288Qm+DPayc/ZvjZuDZtw5 D6e3ac36kVaE48CopNF/iZuN4FgA26N3eTkZhNjm5AMG0xgCRfrM/IvAPuAbqYuC +71cqAo5Xn3f/L9Bk1Yrm/zj6eNtx9hRTg7VndEdjSWN9v7AvtA= =Cg+F -----END PGP SIGNATURE----- --m51xatjYGsM+13rf--