Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bxI1i-0003zy-Bs for pgsql-hackers@arkaria.postgresql.org; Thu, 20 Oct 2016 18:25:14 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bxI1h-0006Je-Oi for pgsql-hackers@arkaria.postgresql.org; Thu, 20 Oct 2016 18:25:13 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bxI0K-0004jm-E5 for pgsql-hackers@postgresql.org; Thu, 20 Oct 2016 18:23:48 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bxI0D-00049S-Ea for pgsql-hackers@postgresql.org; Thu, 20 Oct 2016 18:23:47 +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 u9KINWI6023360; Thu, 20 Oct 2016 14:23:32 -0400 From: Tom Lane To: Robert Haas cc: Bruce Momjian , Stephen Frost , Michael Paquier , David Steele , PostgreSQL mailing lists Subject: Re: Renaming of pg_xlog and pg_clog In-reply-to: References: <27318fb7-3784-fb82-7e5a-309b6277b487@pgmasters.net> <20161012153149.GF13284@tamriel.snowman.net> <20161020160500.GT13284@tamriel.snowman.net> <20161020173931.GA13605@momjian.us> <22673.1476986971@sss.pgh.pa.us> Comments: In-reply-to Robert Haas message dated "Thu, 20 Oct 2016 14:15:03 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <23358.1476987812.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Thu, 20 Oct 2016 14:23:32 -0400 Message-ID: <23359.1476987812@sss.pgh.pa.us> X-Pg-Spam-Score: -2.2 (--) 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 Robert Haas writes: > On Thu, Oct 20, 2016 at 2:09 PM, Tom Lane wrote: >> We have the two precedents "pg_subtrans" and "pg_multixact", so >> unless we want to get into renaming those too, I think "pg_trans" >> and "pg_xact" are really the only options worth considering. >>=20 >> Personally I'd go for "pg_trans", but it's only a weak preference. > Heaven forfend we actually use enough characters to make it self-document= ing. $ ls $PGDATA PG_VERSION pg_dynshmem/ pg_notify/ pg_stat_tmp/ postgresql.auto.= conf base/ pg_hba.conf pg_replslot/ pg_subtrans/ postgresql.conf global/ pg_ident.conf pg_serial/ pg_tblspc/ postmaster.opts pg_clog/ pg_logical/ pg_snapshots/ pg_twophase/ postmaster.pid pg_commit_ts/ pg_multixact/ pg_stat/ pg_wal/ I don't see one single one of those subdirectory names that I'd call self-documenting. Are you proposing we rename them all with carpal- tunnel-syndrome-promoting names? There's certainly some case to be made for renaming at least one of "pg_subtrans" and "pg_multixact" so that these three similarly-purposed subdirectories can all have similar names. But I think on the whole that's (a) fixing what ain't broken, and (b) making it even more unlikely that we'll ever get to consensus on changing anything. We've managed to agree that we need to change the names ending in "log"; let's do that and be happy that we've removed one foot-gun from the system. regards, tom lane --=20 Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers