Re: [PATCH] Rename pg_switch_xlog to pg_switch_wal

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>, Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
Cc: Vladimir Rusinov <vrusinov(at)google(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Euler Taveira <euler(at)timbira(dot)com(dot)br>, David Steele <david(at)pgmasters(dot)net>, Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, Stephen Frost <sfrost(at)snowman(dot)net>, Andres Freund <andres(at)anarazel(dot)de>, Jim Nasby <Jim(dot)Nasby(at)bluetreble(dot)com>, Cynthia Shang <cynthia(dot)shang(at)crunchydata(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCH] Rename pg_switch_xlog to pg_switch_wal
Date: 2017-01-23 18:55:26
Message-ID: 8abd9887-ea26-cea7-c463-db90d55c92aa@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 1/17/17 5:03 PM, Robert Haas wrote:
> Right. I think a lot of that stuff should also be changed. If we
> weren't OK with breaking compatibility, why'd we change pg_xlog ->
> pg_wal? If we're not willing to change other things to match, let's
> revert that change and be done with it.

For the record, I don't like the name "xlog" either. It would be nice
if we could have more consistent and intuitive naming.

But I don't see any proposals to actually change all uses of "xlog" to
"wal". What about program names, command line options, etc.? If the
argument is, we changed one thing, we should change the rest, then let's
see that. I think that argument itself is flawed, but if that's what
we're going with, let's see the whole plan.

Moreover, I see we still have the pg_clog directory. I thought that was
supposed to be renamed as well, to avoid confusing it with a "log"
directory. Surely, we should at least conclude that original chapter
before going further.

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephen Frost 2017-01-23 18:59:41 Re: [PATCH] Rename pg_switch_xlog to pg_switch_wal
Previous Message Stephen Frost 2017-01-23 18:50:46 Re: [COMMITTERS] pgsql: Add pg_sequence system catalog