Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bdgoH-0008K0-DY for pgsql-hackers@arkaria.postgresql.org; Sat, 27 Aug 2016 16:50:21 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bdgoG-0005iM-UX for pgsql-hackers@arkaria.postgresql.org; Sat, 27 Aug 2016 16:50:20 +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 1bdgoF-0005he-F1 for pgsql-hackers@postgresql.org; Sat, 27 Aug 2016 16:50:19 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bdgo9-0004Q2-BE for pgsql-hackers@postgresql.org; Sat, 27 Aug 2016 16:50:18 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u7RGo8RX007406; Sat, 27 Aug 2016 12:50:08 -0400 From: Tom Lane To: Michael Paquier cc: Andres Freund , Peter Eisentraut , Magnus Hagander , PostgreSQL-development Subject: Re: Renaming of pg_xlog and pg_clog In-reply-to: References: <0a089d6a-ff1d-88b0-5966-44bbbe5aa202@2ndquadrant.com> <28389.1472228921@sss.pgh.pa.us> <20160826212015.cn7jsquwhwbt7bn4@alap3.anarazel.de> <82c093d6-933f-1cdd-5684-2af1503532a9@2ndquadrant.com> <20160826213406.jzmbsbepbzvonxl2@alap3.anarazel.de> Comments: In-reply-to Michael Paquier message dated "Sat, 27 Aug 2016 17:33:14 +0900" Date: Sat, 27 Aug 2016 12:50:08 -0400 Message-ID: <7405.1472316608@sss.pgh.pa.us> X-Pg-Spam-Score: -2.1 (--) 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 Michael Paquier 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