Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b2kjB-0002fl-MV for pgsql-hackers@arkaria.postgresql.org; Tue, 17 May 2016 19:32:25 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1b2kjB-0002M4-59 for pgsql-hackers@arkaria.postgresql.org; Tue, 17 May 2016 19:32:25 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1b2kj9-0002L7-R6 for pgsql-hackers@postgresql.org; Tue, 17 May 2016 19:32:23 +0000 Received: from out.smtp-auth.no-ip.com ([8.23.224.60]) by makus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1b2kj6-0005HN-Jl for pgsql-hackers@postgresql.org; Tue, 17 May 2016 19:32:22 +0000 X-No-IP: alvh.no-ip.org@noip-smtp X-Report-Spam-To: abuse@no-ip.com Received: from alvin.alvh.no-ip.org (unknown [186.37.70.57]) (Authenticated sender: alvh.no-ip.org@noip-smtp) by smtp-auth.no-ip.com (Postfix) with ESMTPA id 7E6F04016F2; Tue, 17 May 2016 12:32:14 -0700 (PDT) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id 04E9528E; Tue, 17 May 2016 15:32:09 -0400 (CLT) Date: Tue, 17 May 2016 15:32:08 -0400 From: Alvaro Herrera To: Masahiko Sawada Cc: Robert Haas , Ants Aasma , "Joshua D. Drake" , Stephen Frost , Andres Freund , "pgsql-hackers@postgresql.org" Subject: Re: Reviewing freeze map code Message-ID: <20160517193208.GA169606@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Pg-Spam-Score: -1.1 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Masahiko Sawada wrote: > On Mon, May 16, 2016 at 10:49 AM, Robert Haas wrote: > > We should support scan_all only with the new-style options syntax for > > VACUUM; that is, vacuum (scan_all) rename. That doesn't require > > making scan_all a keyword, which is good: this is a minor feature, and > > we don't want to bloat the parsing tables for it. > > I agree with having new-style options syntax. > Isn't it better to have SCAN_ALL option without parentheses? > > Syntaxes are; > VACUUM SCAN_ALL table_name; > VACUUM SCAN_ALL; -- for all tables on database No, I agree with Robert that we shouldn't add any more such options to avoid keyword proliferation. Syntaxes are; VACUUM (SCAN_ALL) table_name; VACUUM (SCAN_ALL); -- for all tables on database Is SCAN_ALL really the best we can do here? The business of having an underscore in an option name has no precedent (other than CURRENT_DATABASE and the like). How about COMPLETE, TOTAL, or WHOLE? -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers