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 1jnEBB-00042h-0Y for pgsql-hackers@arkaria.postgresql.org; Mon, 22 Jun 2020 04:35:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jnEB9-0000OD-Tg for pgsql-hackers@arkaria.postgresql.org; Mon, 22 Jun 2020 04:35:31 +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 1jnEB8-0000Nl-3Z for pgsql-hackers@lists.postgresql.org; Mon, 22 Jun 2020 04:35:31 +0000 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jnEB5-00039t-9p for pgsql-hackers@postgresql.org; Mon, 22 Jun 2020 04:35:29 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 2B2F11761; Mon, 22 Jun 2020 00:35:25 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Mon, 22 Jun 2020 00:35:25 -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=uwffEM7c7m4B6tJ2AMF9YqeGhb+ Iw9isyyTBa+i8cFg=; b=DMNDSbhfjt1mXEPwSYs7rZFiYJGEo0sdPrehgpBStlg t4CUwEtEg2sf3sYQg31SiBkNV7u7WWK2Kq2l8hNoVXTi4LtVRU/4Vli5aosg7YE8 6N4LYXGWHAyvMZnDbaUVWFbkc7qoErpD88SlxzKEFVaM5FucRGGGbmngvLqQchBR 8unDXtTpgXSmO3ICnaNKRX0pdexC33I2z33gAtsi7ShbHBwVFiBqwL+7wZLHRore iFFICWJAkDRXPl1JFsoOe8mpl5XCOp0hfHO5cybXHJ9Nm929WWfuFwT2JmqGXGcp dy9xaTFzzyW64BpDezaxU7QBawaPSk6PaQ+riJ/oNSw== 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=uwffEM 7c7m4B6tJ2AMF9YqeGhb+Iw9isyyTBa+i8cFg=; b=JJKhEhOCv5I8BhSbwAd2nE nNJHkPyU5zezYNeTkbPL/FFLf465PyrjH3BUKFHZHXALSO0qbr9c+StND3JlkPFq 1pjwDvW4wMCOQGgGbC+DZDQmHVK9W0xEiTMUS4EXuaQwZFz04F6O/DeqlUvFcU1m 5icyw6T0jy8HUUMxq8EJas6Pc482ofLkoeoSSs9tbus8KP0NrUmokcUwMAQpKvbV aYKmmoPaoJ3RuDTzYS+GBJ2GPy1WQUI8itn9r9B4p0hCKI/t5qA2Xr03xc8Rn+sZ TyvAT6ZhNLkiXlO4byo9xt16TIoFeWFZVqZ+9OusKVpAnGKaIDV6LJoso07+ReUg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudekuddgkeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddt vdenucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprg hquhhivghrrdighiiiqeenucggtffrrghtthgvrhhnpedvgeduuefhtdeuleettdevjeeh heeiveeuieegleetgeeljeelieeuieehgeevhfenucfkphepudduuddruddtvddrudektd drudekheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhm pehmihgthhgrvghlsehprghquhhivghrrdighiii 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 AD7483066E3F; Mon, 22 Jun 2020 00:35:21 -0400 (EDT) Date: Mon, 22 Jun 2020 13:35:18 +0900 From: Michael Paquier To: "Bossart, Nathan" Cc: Masahiko Sawada , "pgsql-hackers@postgresql.org" , "masao.fujii@gmail.com" , Andres Freund , Masahiko Sawada , "euler@timbira.com.br" Subject: Re: Add support for INDEX_CLEANUP and TRUNCATE to vacuumdb Message-ID: <20200622043518.GD5367@paquier.xyz> References: <6F7F17EF-B1F2-4681-8D03-BA96365717C0@amazon.com> <536BEE7A-6673-4D31-AB2F-F518F290950E@amazon.com> <20200619015701.GD453547@paquier.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="19uQFt6ulqmgNgg1" Content-Disposition: inline In-Reply-To: <20200619015701.GD453547@paquier.xyz> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --19uQFt6ulqmgNgg1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Jun 19, 2020 at 10:57:01AM +0900, Michael Paquier wrote: > Thanks. This flavor looks good to me in terms of code, and the test > coverage is what's needed for all the code paths added. This version > is using my suggestion of upthread for the option names: --no-truncate > and --no-index-cleanup. Are people fine with this choice? Okay. I have gone through the patch again, and applied it as of 9550ea3. Thanks. -- Michael --19uQFt6ulqmgNgg1 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAl7wNQYACgkQnvQgOdby QH11UBAAkSRCQ74xZc7cwSkyDSGBsIxHZgOLQPdXLDAPbp8H+cArFaR4fVzM+x4D mQbPAhv7INSE4r/2WKJqF2Psuk3iCR63nRRkiISHWrUwgeSi7jNynTQ+iPse6ffQ w+lA/6XS1mGWXs952PEbWyJvGz8vnOhyFeQJPw5wCak/loXsinIYsxwak1uHtxGT O0MxmaGD8/Nq7A7WlGJltVWrqXr6x+5rxPd86eu+DydwyzKr0QhIuJvsFuM8fjvb zrkWL4QZt3HXsVgqAubWlkslArfKvHUd7ZufxbDdHws9LnpKhpDmdcl8rR+1a2Lu 5VNw2AHJwjMClm/fEcp+CM11fMkBI5z97jCLG2mIo8oqnLMJUD5/CRWsHp2HEASG dX0cc738PiYknq4FiK4rfLSdNe/pPtdWUP+vUVzzHG30We9kPE3pb0GontUhPycy LIgTD0FwzMJN3EEcr1NVrxOn1JG3TE3ZxYT5FxvtDv5+rKkGoZDafU3EUyzgQIPh 0wK3Zo1ZxQ3VjKOYubdW6Ql5Aqz8AkoPmz3VVbQQwrd8zzVmMi6XMi403LrfxFAh QBxDywbdffr/nxj7aMYGJjVFoth2GpsNUXrZ4ncBOithfh3lUo52FUm1W5m2QL0U F373DzuUbvT2WAsuEcLws9u675PepgTB1AKLr2FY7yuFogwKilQ= =edY8 -----END PGP SIGNATURE----- --19uQFt6ulqmgNgg1--