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 1pAwcX-0001rX-Vu for pgsql-hackers@arkaria.postgresql.org; Thu, 29 Dec 2022 17:23:09 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pAwcW-0002DF-La for pgsql-hackers@arkaria.postgresql.org; Thu, 29 Dec 2022 17:23:08 +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 1pAwcW-0002D6-Ci for pgsql-hackers@lists.postgresql.org; Thu, 29 Dec 2022 17:23:08 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pAwcQ-0004Sh-4C for pgsql-hackers@lists.postgresql.org; Thu, 29 Dec 2022 17:23:07 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 2BTHMwYV576869; Thu, 29 Dec 2022 12:22:58 -0500 From: Tom Lane To: Justin Pryzby cc: Peter Geoghegan , postgresql@taljaren.se, pgsql-hackers@lists.postgresql.org, Michael Paquier Subject: Re: BUG #17717: Regression in vacuumdb (15 is slower than 10/11 and possible memory issue) In-reply-to: <451605.1672280274@sss.pgh.pa.us> References: <17717-6c50eb1c7d23a886@postgresql.org> <3439037.1671130590@sss.pgh.pa.us> <3544447.1671141436@sss.pgh.pa.us> <3672943.1671202149@sss.pgh.pa.us> <407579.1672258403@sss.pgh.pa.us> <20221229012354.GF1153@telsasoft.com> <451605.1672280274@sss.pgh.pa.us> Comments: In-reply-to Tom Lane message dated "Wed, 28 Dec 2022 21:17:54 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <576867.1672334578.1@sss.pgh.pa.us> Date: Thu, 29 Dec 2022 12:22:58 -0500 Message-ID: <576868.1672334578@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk I wrote: > Justin Pryzby writes: >> I assumed it would look like: >> VACUUM (UPDATE_DATABASE_STATS {yes,no,only}) > Meh. We could do it like that, but I think options that look like > booleans but aren't are messy. Note that I'm not necessarily objecting to there being just one option, only to its values being a superset-of-boolean. Perhaps this'd work: VACUUM (DATABASE_STATS {UPDATE,SKIP,ONLY}) regards, tom lane