pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Michael Paquier <michael.paquier@gmail.com>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Thomas Munro <thomas.munro@enterprisedb.com>
Cc: Craig Ringer <craig.ringer@2ndquadrant.com>
Cc: Jim Nasby <Jim.Nasby@bluetreble.com>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Cc: Andres Freund <andres@anarazel.de>
Subject: Re: Renaming of pg_xlog and pg_clog
Date: Fri, 14 Oct 2016 00:38:06 -0400
Message-ID: <071f8400-b966-1a0b-9066-e5bb789189d7@2ndquadrant.com> (raw)
In-Reply-To: <15297.1476285726@sss.pgh.pa.us>
References: <CAB7nPqTeC-8+zux8_-4ZD46V7YPwooeFxgndfsq5Rg8ibLVm1A@mail.gmail.com>
	<d42ab8e1-8573-abf3-f63a-1301c46aedd9@BlueTreble.com>
	<CAMsr+YEKaBBYoW+vTUTKjiEufWO7QfU53_gCreq9YKZ4fKwQJw@mail.gmail.com>
	<CAB7nPqQO_6oZX+RqyZkfrOugo0xqVTT41fM7jqzbRcyat6U1uw@mail.gmail.com>
	<CAMsr+YEtv=PjiRiQBnAd_uu0WNnotG29n0XQLGFporJ_viggMg@mail.gmail.com>
	<CAB7nPqSHvZnbrfk0c=1ur3EnO-Na3_tZVz9j+V7j12k4_1+8VA@mail.gmail.com>
	<CAMsr+YGs8V73PRsqtwq4j4CXFLk3LhEBfGfFfit1ewTYu2svHw@mail.gmail.com>
	<CAB7nPqSUE4Zp=W798ryj=PuD0d7Jwgj85drZ_ENS2RZ0=W6new@mail.gmail.com>
	<CAB7nPqS7NhHbUP4VR-t8XXTxw-e1x7zqAT-gM85iRA4WkzsiWQ@mail.gmail.com>
	<CAEepm=1JuojMSOt_C3FOGY+La_MBRyyHGH2U9yhmguYtA7MVBA@mail.gmail.com>
	<CAB7nPqR=SZNo_=B1ukwCiNn7aWDcw_dV0z-LG4ys9WF1N4a=uQ@mail.gmail.com>
	<CA+TgmobOyVNLA7DacLDY9yO_cBWMrkFfKSab6+Hrycu8Mh93Yw@mail.gmail.com>
	<CAB7nPqRD0=nuZOgODOEcPsGxj9+C_RAUyNFF+4UdUesCbif2tg@mail.gmail.com>
	<78d8090c-84c3-3eb6-0b6a-5a4db90d6fbb@2ndqu! adrant.com>
	<15297.1476285726@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

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.

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.

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.

-- 
Peter Eisentraut              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



view thread (139+ messages)  latest in thread

Message-ID: <071f8400-b966-1a0b-9066-e5bb789189d7@2ndquadrant.com>
Permalink:  ../071f8400-b966-1a0b-9066-e5bb789189d7@2ndquadrant.com/
Also on:    postgresql.org/message-id/071f8400-b966-1a0b-9066-e5bb789189d7@2ndquadrant.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: peter.eisentraut@2ndquadrant.com, tgl@sss.pgh.pa.us, michael.paquier@gmail.com, robertmhaas@gmail.com, thomas.munro@enterprisedb.com, craig.ringer@2ndquadrant.com, Jim.Nasby@bluetreble.com, andres@anarazel.de
  Subject: Re: Renaming of pg_xlog and pg_clog
  In-Reply-To: <071f8400-b966-1a0b-9066-e5bb789189d7@2ndquadrant.com>
  References: <CAB7nPqTeC-8+zux8_-4ZD46V7YPwooeFxgndfsq5Rg8ibLVm1A@mail.gmail.com> <d42ab8e1-8573-abf3-f63a-1301c46aedd9@BlueTreble.com> <CAMsr+YEKaBBYoW+vTUTKjiEufWO7QfU53_gCreq9YKZ4fKwQJw@mail.gmail.com> <CAB7nPqQO_6oZX+RqyZkfrOugo0xqVTT41fM7jqzbRcyat6U1uw@mail.gmail.com> <CAMsr+YEtv=PjiRiQBnAd_uu0WNnotG29n0XQLGFporJ_viggMg@mail.gmail.com> <CAB7nPqSHvZnbrfk0c=1ur3EnO-Na3_tZVz9j+V7j12k4_1+8VA@mail.gmail.com> <CAMsr+YGs8V73PRsqtwq4j4CXFLk3LhEBfGfFfit1ewTYu2svHw@mail.gmail.com> <CAB7nPqSUE4Zp=W798ryj=PuD0d7Jwgj85drZ_ENS2RZ0=W6new@mail.gmail.com> <CAB7nPqS7NhHbUP4VR-t8XXTxw-e1x7zqAT-gM85iRA4WkzsiWQ@mail.gmail.com> <CAEepm=1JuojMSOt_C3FOGY+La_MBRyyHGH2U9yhmguYtA7MVBA@mail.gmail.com> <CAB7nPqR=SZNo_=B1ukwCiNn7aWDcw_dV0z-LG4ys9WF1N4a=uQ@mail.gmail.com> <CA+TgmobOyVNLA7DacLDY9yO_cBWMrkFfKSab6+Hrycu8Mh93Yw@mail.gmail.com> <CAB7nPqRD0=nuZOgODOEcPsGxj9+C_RAUyNFF+4UdUesCbif2tg@mail.gmail.com> <15297.1476285726@sss.pgh.pa.us> <071f8400-b966-1a0b-9066-e5bb789189d7@2ndquadrant.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox