Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bv7ZT-0007hj-CZ for pgsql-hackers@arkaria.postgresql.org; Fri, 14 Oct 2016 18:51:07 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bv7ZS-0003dq-NN for pgsql-hackers@arkaria.postgresql.org; Fri, 14 Oct 2016 18:51:06 +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 1bv7Y4-0001ri-4j for pgsql-hackers@postgresql.org; Fri, 14 Oct 2016 18:49:40 +0000 Received: from tamriel.snowman.net ([2001:4830:167b::11]) by makus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bv7Y1-0002Is-Qa for pgsql-hackers@postgresql.org; Fri, 14 Oct 2016 18:49:38 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id 87ECC5F7B2; Fri, 14 Oct 2016 14:49:37 -0400 (EDT) Date: Fri, 14 Oct 2016 14:49:37 -0400 From: Stephen Frost To: Christoph Berg , 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: <20161014184937.GG13284@tamriel.snowman.net> 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> <20161014171902.nb3hyg6koemwbzhb@msg.df7cb.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="kgrTFWWHriyfBwle" Content-Disposition: inline In-Reply-To: <20161014171902.nb3hyg6koemwbzhb@msg.df7cb.de> X-Editor: Vim http://www.vim.org/ X-Info: http://www.snowman.net X-Operating-System: Linux/3.13.0-91-generic (x86_64) X-Uptime: 14:48:25 up 97 days, 20:12, 20 users, load average: 0.04, 0.04, 0.08 User-Agent: Mutt/1.5.21 (2010-09-15) 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 --kgrTFWWHriyfBwle Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Christoph Berg (myon@debian.org) wrote: > Re: Stephen Frost 2016-10-14 <20161014113523.GZ13284@tamriel.snowman.net> > > > We have a tool called pg_xlogdump in the standard installation. init= db > > > has an option --xlogdir, pg_basebackup has --xlog and others. Renami= ng > > > the xlog directory would make this all a bit confusing, unless we're > > > prepared to rename the programs and options as well. > >=20 > > 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. >=20 > There's actually another instance of "rename so people shoot their > feet less often" here: pg_resetxlog, which is a user-facing tool. That is *not* 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.) Not sure on the best approach here, but I agree that it's a problem that people think pg_resetxlog is some kind of recovery tool (hint: it's not). Thanks! Stephen --kgrTFWWHriyfBwle Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJYASjBAAoJEO1sijiDR2RV56QP/ipjfK0w7r2VPoyll++PFBoY kS5E05eD3pKCVWhiDIM/64VESVEPkiQeNvJFbb8BjplZhMpSLZywC2g1D8ubBxZR 7GR/ud3jqJUuCjsBb4aWujoNYV4CwrUF9d4J5zOGLPLHqmlsAh07tp0BFL0kGtx/ 5OlbKcNApv4lPIHi/IfBGzP/EQCM17P8q06e7PgZREXvJT3Nz8jqU91TNX9xT5d9 55WVhYpsel1cqt3+7sj81hBs9uChFISk7dkNki2TNjsJw3dJuBCp15HBkhIpF24+ 5bNlKVwbbGB0kadQ+xaygnqg46Jy9r+q6+DrXtP1TA4BmFJ/GIrrkOwtcXg0GcP4 +clR6H8YCZC652tuIj6QzObaa/JLOSuQCnYfkRf671DqEY1KJ+jFvSSJqMOqnAWx 1gtKrj0jV2EgbKhw4a4RuCzkLSayeWurFPLNwZW5JayNRZGjJkObXxAJlf2s1xlY TyIRgyzagcwIUwGX2mfwZhycf7Yv+eWkRch96VDh8UXGZuuQgmJSSH+qjfJmtpKh kSbI13VdMD6rq1CQXNi6bEH5xRTErR4oupFBN4wulhSFxHAA/EU7G8wkSEQ8QI2e mGDacyezLPL99dPq5dWRjeoLyCSZHihW3kTgLLh0wVK6AkrwTrworarEGNtJ4Y/S 1G+/2y6xoy7aGveocp7m =v31G -----END PGP SIGNATURE----- --kgrTFWWHriyfBwle--