Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bxFqa-0006En-7v for pgsql-hackers@arkaria.postgresql.org; Thu, 20 Oct 2016 16:05:36 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bxFqZ-0003b2-L5 for pgsql-hackers@arkaria.postgresql.org; Thu, 20 Oct 2016 16:05:35 +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 1bxFqY-0003Xo-03 for pgsql-hackers@postgresql.org; Thu, 20 Oct 2016 16:05:34 +0000 Received: from tamriel.snowman.net ([2001:4830:167b::11]) by magus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bxFqV-0001fL-4y for pgsql-hackers@postgresql.org; Thu, 20 Oct 2016 16:05:33 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id 59C445F796; Thu, 20 Oct 2016 12:05:00 -0400 (EDT) Date: Thu, 20 Oct 2016 12:05:00 -0400 From: Stephen Frost To: Robert Haas Cc: Michael Paquier , David Steele , PostgreSQL mailing lists Subject: Re: Renaming of pg_xlog and pg_clog Message-ID: <20161020160500.GT13284@tamriel.snowman.net> References: <27318fb7-3784-fb82-7e5a-309b6277b487@pgmasters.net> <20161012153149.GF13284@tamriel.snowman.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="+9D0x2PrroKZTtS9" Content-Disposition: inline In-Reply-To: X-Editor: Vim http://www.vim.org/ X-Info: http://www.snowman.net X-Operating-System: Linux/3.13.0-91-generic (x86_64) X-Uptime: 11:51:56 up 103 days, 17:16, 22 users, load average: 0.04, 0.10, 0.13 User-Agent: Mutt/1.5.21 (2010-09-15) 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 --+9D0x2PrroKZTtS9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Robert Haas (robertmhaas@gmail.com) wrote: > On Wed, Oct 12, 2016 at 10:22 PM, Michael Paquier > wrote: > > OK. I can live with that as well. Attached are three patches. The > > pg_xlog -> pg_wal move, the pg_clog -> pg_transaction move, and the > > pg_clog -> pg_xact move. Only one survivor to be chosen among the last > > two ones. >=20 > Committed 0001. Glad to see that happen, finally. > To be honest, I don't really like either pg_transaction or pg_xact. > Neither name captures the fact that what we're really tracking here is > the transaction *status*. pg_xact is slightly worse because it's a > poor abbreviation for transaction, but I think the argument against > even pg_transaction is similar to the one Tom previously levied > against pg_logical - viz. "logical what?". The transaction themselves > are not stored in the directory, just the commit status. The fact > that commit status is saved is the source of the "c" in "clog". This really needs to move forward also. When it comes to the name, I tend to think of 'pg_xact' as saying "this is where we persist info we need to keep about transactions." Today that's just the commit status info, but I could imagine that there might, someday, be other things that go in there. "pg_multixact" is an example of something quite similar but does have more than just one "thing." Also, using "pg_xact" and then "pg_subxact" and "pg_multixact" bring them all under one consistent naming scheme. Thanks! Stephen --+9D0x2PrroKZTtS9 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJYCOssAAoJEO1sijiDR2RVhpIP/RBCT+ROJted4q3hclZjE/hV KesMjzj+ZfN1gGURP8Q2OshdwHuqnpkh4ZZJ1yl3xzLI29r+ccWmDZshJDSqwmq4 XUMd1sByGFYoq972f4t4mA5AQI3a1PDCOrcT8R1VVyewIR6zzisePayTwjqglUHL uSv3w2cD/mjNejJIiqmj8hrd49chwTF8doTFqcetySBYnJ2DAduDSYZFLoECAunw XmG8FgQsqCcYXwbf860UrgvRqot0sHFaT8qWEAqE7XHORoO2Rt7rN0mNhuSlpl8I D5VMKwjXhiitNA+zAMsWqBkDXjhcZwdpuLvwYFRsHLyXWL6S/EGENnUPCCrFAUl1 L51WFqICAZi8gGjToxyBe2t5Jprh1+bYVtQj9c3j/OU1PQIc88T6062nGO9AgF/3 Y+IISEXQm3vBi/GOwB/2Xjk2csROOooqVJqsK6Q1HzGs619WAvx/pMfFIwNd3rsE NXg2NPJRTpEBQ/quU8YvQPjl96Ov1mkm6c7VXnoR3hkY7kNuRu3dT28jpBgCLTsD MB5369ZM7vidSw1mA71ZFvr4MWx1RyoXWBQMcl6gHNYc/WrcR5Uid7p0h9qh9E/X oSwZAqAsm6KLPa+iIdm8bq1srhcUtO/bVxSi69GpphDZLhotiV4NuVpOYS2dJkbL +0zMy7VZvpqiMQvww6xG =x6/A -----END PGP SIGNATURE----- --+9D0x2PrroKZTtS9--