From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: Andres Freund <andres@anarazel.de>
Cc: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: Magnus Hagander <magnus@hagander.net>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Subject: Re: Renaming of pg_xlog and pg_clog
Date: Sat, 27 Aug 2016 12:50:08 -0400
Message-ID: <7405.1472316608@sss.pgh.pa.us> (raw)
In-Reply-To: <CAB7nPqS2h6KVcWBoTRqjqYSWiSXDXRWmt1AxNiogfj-uyLz4xw@mail.gmail.com>
References: <CAB7nPqTeC-8+zux8_-4ZD46V7YPwooeFxgndfsq5Rg8ibLVm1A@mail.gmail.com>
<0a089d6a-ff1d-88b0-5966-44bbbe5aa202@2ndquadrant.com>
<CABUevExt-XUkHRc-tbQHrCukY=z8_3kDcAhc05_fULfF9q-Fzg@mail.gmail.com>
<28389.1472228921@sss.pgh.pa.us>
<f9cab8fb-f3de-7208-fbe9-96cda0d804c6@2ndquadrant.com>
<20160826212015.cn7jsquwhwbt7bn4@alap3.anarazel.de>
<82c093d6-933f-1cdd-5684-2af1503532a9@2ndquadrant.com>
<20160826213406.jzmbsbepbzvonxl2@alap3.anarazel.de>
<CAB7nPqS2h6KVcWBoTRqjqYSWiSXDXRWmt1AxNiogfj-uyLz4xw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
Michael Paquier <michael.paquier@gmail.com> writes:
> OK, so let's focus only on the renaming mentioned in $subject. So far
> as I can see on this thread, here are the opinions of people who
> clearly gave one:
> - Rename them, hard break is OK: Michael P, Bruce, Stephen (depends on
> David's input), Magnus
> - Rename them, hard break not OK: Fujii-san (perhaps do nothing?)
> - Do nothing: Simon (add a README), Tom, Peter E
Hm, if you read me as voting against renaming pg_xlog, that wasn't
the conclusion I meant to convey. I'm against moving/renaming the
configuration files, because I think that will break a lot of users'
scripts and habits without really buying much. But I'm for consolidating
all the files that should not be copied by backup tools into one
subdirectory, and I think that while we're doing that it would be sensible
to rename pg_xlog and pg_clog to something that doesn't sound like it's
scratch data. I'm on the fence about whether pg_logical ought to get
renamed.
> As far as I can see, there is a consensus to not rename pg_xlog to
> pg_journal and avoid using a third meaning, but instead use pg_wal.
Yeah, +1 for pg_wal, we do not need yet another name for that.
> I guess that now the other renaming would be pg_clog -> pg_xact.
We already have pg_subtrans, so it seems like pg_trans is an obvious
suggestion. I'm not sure whether the other precedent of pg_multixact
is a stronger one than that.
regards, tom lane
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
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: tgl@sss.pgh.pa.us, michael.paquier@gmail.com, andres@anarazel.de, peter.eisentraut@2ndquadrant.com, magnus@hagander.net
Subject: Re: Renaming of pg_xlog and pg_clog
In-Reply-To: <7405.1472316608@sss.pgh.pa.us>
References: <CAB7nPqTeC-8+zux8_-4ZD46V7YPwooeFxgndfsq5Rg8ibLVm1A@mail.gmail.com> <0a089d6a-ff1d-88b0-5966-44bbbe5aa202@2ndquadrant.com> <CABUevExt-XUkHRc-tbQHrCukY=z8_3kDcAhc05_fULfF9q-Fzg@mail.gmail.com> <28389.1472228921@sss.pgh.pa.us> <f9cab8fb-f3de-7208-fbe9-96cda0d804c6@2ndquadrant.com> <20160826212015.cn7jsquwhwbt7bn4@alap3.anarazel.de> <82c093d6-933f-1cdd-5684-2af1503532a9@2ndquadrant.com> <20160826213406.jzmbsbepbzvonxl2@alap3.anarazel.de> <CAB7nPqS2h6KVcWBoTRqjqYSWiSXDXRWmt1AxNiogfj-uyLz4xw@mail.gmail.com> <7405.1472316608@sss.pgh.pa.us>
* 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