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 1jm6J0-0006bc-Sq for pgsql-hackers@arkaria.postgresql.org; Fri, 19 Jun 2020 01:58:59 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jm6Iz-0004S0-04 for pgsql-hackers@arkaria.postgresql.org; Fri, 19 Jun 2020 01:58:57 +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 1jm6Ix-0004Oa-RZ for pgsql-hackers@lists.postgresql.org; Fri, 19 Jun 2020 01:58:56 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jm6Iu-0005q9-Bf for pgsql-hackers@postgresql.org; Fri, 19 Jun 2020 01:58:54 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 342285C0083; Thu, 18 Jun 2020 21:58:51 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Thu, 18 Jun 2020 21:58:51 -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=MgMRUqbRQkAVU/bX+PFc3L61OOE IQIbWnQMWqKfD9io=; b=ioUwRzqZYhoc45adrVUdJ0yAVtJrWKpQY8rbrs9h2mj GR2lQN6H6DQKKgn+F3nv2yYkWpGnOGZZb/Ra0axAHN6TVVDVhmnqxM4vFuua8Njc zlXUwPxZB5K5/hyUiOcMNOwAm5jiYyx4Pf0xAy7llw4sI82ogTtsu6dPiDO4/R6w 6H8u2lCKwM9Uyfkv5ZqB/fVdKqusLXT7fYqE/ZMG6IWleiCEy+qcMQGlRS16HdjP UFwC28DhWyStCXYkULI9JlBtxluiydzib0wJnGYJcaTkxdxFCfeY+rzTTaD5FR1K 3WQ4tsLq7A40FWiA0b/mznARQ6dvAn6BYs0X4Hy91jg== 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=MgMRUq bRQkAVU/bX+PFc3L61OOEIQIbWnQMWqKfD9io=; b=kIc29t80ECgjWklkOw51vw lZxroF63ZD2X+NWS6OGKa+zOhwt0jMscV3G4y4JaGUg5pvGLmf9TgD4iFhDNLhV9 17mCYUybeIC5m9/RSUIisZpzjrNQ2vZpijJxkSr6mSMAoAX4jhBN5RWH7uYcC9jE jdVfBnogHGd9QdPz8Uv6L84g8KdtI9+5Y5Ji1Kqr1cfZ0Xzlb9qgtmJlvNGMh+6c 39qob0j0LGTIEhWofZzb1Xz6TAd6aV7m2L3+4RlgumBpvLZHbwi/0Jpb6qlinBEQ VkV/CgBJIoHET+VigeQ9WSMMO4l9GhZTP8Hvof/WDXIDhe2UEpcGlg+Eq2JUVlKw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudejhedgheefucetufdoteggodetrfdotf 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 58ABF3060FE7; Thu, 18 Jun 2020 21:57:37 -0400 (EDT) Date: Fri, 19 Jun 2020 10:57:01 +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: <20200619015701.GD453547@paquier.xyz> References: <6F7F17EF-B1F2-4681-8D03-BA96365717C0@amazon.com> <536BEE7A-6673-4D31-AB2F-F518F290950E@amazon.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="pZs/OQEoSSbxGlYw" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --pZs/OQEoSSbxGlYw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Jun 18, 2020 at 09:26:50PM +0000, Bossart, Nathan wrote: > It looks like I missed a couple of tags in the documentation changes. > That should be fixed in v3. 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? -- Michael --pZs/OQEoSSbxGlYw Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAl7sG20ACgkQnvQgOdby QH2VuBAApfJ7iRtJhqRbuG7lvBsl06XfFATXtaY3p4v0CwLIYUlnZI0JHeg9jSZW /M2C3Vt+RN68Yjffi4U8Rq0xUbvnD0bl3EmnxtaDUoNM6Fqoma4b3b/ujG4s+eDG F7laHcoBC+f5k9WFNozOHJxzXPvUUPa/MxsicGgoyLaGtEmSga+rchlfuef5DOEL ymicUSLOtJs73Aw0Kq2bq2XQ7bDSYwP8i6j9wr6HQL9f0jvX74RgkMjgluZSMhcQ rYdDtR14JEq2z/tfMENKa3Ls5tZHaXJb/e8shaEM5/mjjLGB0zJ88RGG3A2UTWZ8 HfI/kwQMPOcuLDtlPuSF6XwLkXNsC0lxmnp+EYunfkrwteqHbFdgrmnSH1t+cCl7 NYoCSi8MHWiVVaR60HbqzGlrCXqncUqLp72QPVko9EVB6CyFqw1oLQYK1G3GlQoN g18WPTZ9OQnciPFQ3ZX5r0eE4QJS07xVg8jb8inTyHVDklVnVX3nLtbfR0g7Xfj+ 1EmIL7w2sCgBhCCakTFh4LkzELkWq0DnWXGMag7+spuICoPNRneeYjeljBQ5g6sp MsUCGcci7AEcLCeTBmKRM2/MB+yQhG0TtV8zMl6wXdLPz0xYVASt3IXTzA2Kgnl6 ESVNg1SzDb/46BSeJeGqPl/EBYiPV6wbt9POulTCveX3jlo25nE= =E+82 -----END PGP SIGNATURE----- --pZs/OQEoSSbxGlYw--