Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bv68U-0003pQ-1c for pgsql-hackers@arkaria.postgresql.org; Fri, 14 Oct 2016 17:19:10 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bv68T-0007tf-3D for pgsql-hackers@arkaria.postgresql.org; Fri, 14 Oct 2016 17:19:09 +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 1bv68S-0007tW-C9 for pgsql-hackers@postgresql.org; Fri, 14 Oct 2016 17:19:08 +0000 Received: from feynman.df7cb.de ([195.49.152.168]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bv68O-0000dZ-Oc for pgsql-hackers@postgresql.org; Fri, 14 Oct 2016 17:19:07 +0000 Received: from msg.df7cb.de (aftr-37-201-195-27.unity-media.net [37.201.195.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by feynman.df7cb.de (Postfix) with ESMTPSA id 3swZ862kJLz3Dyy; Fri, 14 Oct 2016 19:19:02 +0200 (CEST) Date: Fri, 14 Oct 2016 19:19:02 +0200 From: Christoph Berg To: Stephen Frost Cc: Peter Eisentraut , Tom Lane , Michael Paquier , Robert Haas , Thomas Munro , Craig Ringer , Jim Nasby , PostgreSQL Hackers , Andres Freund Subject: Re: Renaming of pg_xlog and pg_clog Message-ID: <20161014171902.nb3hyg6koemwbzhb@msg.df7cb.de> Mail-Followup-To: Christoph Berg , Stephen Frost , Peter Eisentraut , Tom Lane , Michael Paquier , Robert Haas , Thomas Munro , Craig Ringer , Jim Nasby , PostgreSQL Hackers , Andres Freund References: <78d8090c-84c3-3eb6-0b6a-5a4db90d6fbb@2ndqu!adrant.com> <15297.1476285726@sss.pgh.pa.us> <071f8400-b966-1a0b-9066-e5bb789189d7@2ndquadrant.com> <20161014113523.GZ13284@tamriel.snowman.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20161014113523.GZ13284@tamriel.snowman.net> User-Agent: NeoMutt/20160916 (1.7.0) X-Pg-Spam-Score: -2.3 (--) 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 Re: Stephen Frost 2016-10-14 <20161014113523.GZ13284@tamriel.snowman.net> > > We have a tool called pg_xlogdump in the standard installation. initdb > > has an option --xlogdir, pg_basebackup has --xlog and others. Renaming > > the xlog directory would make this all a bit confusing, unless we're > > prepared to rename the programs and options as well. > > pg_xlogdump is not a user-facing tool, frankly, so I don't believe we > should be terribly concerned about either leaving it named as-is or > renaming it. I agree that we should consider adding alternative names > to the options for initdb and pg_basebackup. There's actually another instance of "rename so people shoot their feet less often" here: pg_resetxlog, which is a user-facing tool. Folks on #postgresql have repeatedly been joking that it should rather be named pg_eatmydata, given the number of "howtos" on the web that make use of it. Maybe this is the chance to find a less innocent-sounding name. (Or add a mandatory --rewind-my-data switch.) Christoph -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers