Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bv0lz-0006L7-3C for pgsql-hackers@arkaria.postgresql.org; Fri, 14 Oct 2016 11:35:35 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bv0ly-0001ML-4f for pgsql-hackers@arkaria.postgresql.org; Fri, 14 Oct 2016 11:35:34 +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 1bv0lw-0001Kn-7f for pgsql-hackers@postgresql.org; Fri, 14 Oct 2016 11:35:32 +0000 Received: from tamriel.snowman.net ([2001:4830:167b::11]) by makus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bv0lp-0002k7-Fg for pgsql-hackers@postgresql.org; Fri, 14 Oct 2016 11:35:30 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id BD5B55F7AE; Fri, 14 Oct 2016 07:35:23 -0400 (EDT) Date: Fri, 14 Oct 2016 07:35:23 -0400 From: Stephen Frost To: Peter Eisentraut Cc: 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: <20161014113523.GZ13284@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> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="8HHiVeP/YFKAklVd" Content-Disposition: inline In-Reply-To: <071f8400-b966-1a0b-9066-e5bb789189d7@2ndquadrant.com> 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: 07:32:48 up 97 days, 12:57, 20 users, load average: 0.02, 0.07, 0.06 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 --8HHiVeP/YFKAklVd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Peter Eisentraut (peter.eisentraut@2ndquadrant.com) wrote: > On 10/12/16 11:22 AM, Tom Lane wrote: > > The main problem we're trying to fix here is people thinking that > > something with "log" in the name contains discardable data. Just > > relocating the directory without renaming it won't improve that. >=20 > I think it would help if we moved it to something like > "internal/pg_xlog" and "internal/pg_clog". Keep the name but move it > out of sight. I disagree that this will materially help with the issue. > 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. Thanks! Stephen --8HHiVeP/YFKAklVd Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJYAML7AAoJEO1sijiDR2RV4yUP/RMhi0SLCBVIab4oCbSFc+HU oD+2iRCxb7XUwJg7AKFGzH7oacvlWsthdeNSmviipDlhLI+DdtM71SY2R1WklZTb bfsNyxbOTcRJd6Fb3FtnrVdC8Ryauy3BWEYlFFXTjZanPWBm9pJJh8ZVEsT/QViK DGNKepfWrr+tpFm/QVXvY9+GDzDr+jMYn9IMoCaf9P01eDU+6rSURMKFt7o16OJQ lZ/JIWtX7YjPAlmD6SBy045siP0Pnd8GFgqchqLEg2D7P2EMVE5HBpdC0KnUvb3p noqXPqFwcPUfWdvOJxUQhZyWSxdDOtW+IzjQfv304bO1rRqCils18rQ6NQk42i9P PqzyjK2lmqmlCt5DU+J1+216CXTCmBghO7XFbNqhHiOoiOWMGQI8Kj8TqVxDePAN OqJyPUB+YUPotiy0Q5KcTMD/ZcQGab5BdZpu2dMWDt1+4CXcGpIDHGflT/tePzfN aqnRtbBRB5FvXG1ghHroCIVY/p9agzzx1DE0uzM+gqWoYw0e1605tz9ZHSyIq8Xn 5r4xDda9SyhKajnGc4lWdp3CvZwkNxdnz2R8VpukCMn4IOdkB6Mq81p3Zp+Ni6q/ 6Px/O1Gwxv9LnRnGRG2DgYO2hbfBb8ZN4buW0OgXPItHrBCsFj2H6nqfUdLZMQUV wiTp98bOVFP5GR2ejyX+ =dTPm -----END PGP SIGNATURE----- --8HHiVeP/YFKAklVd--