Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1buuHT-0005ny-9Y for pgsql-hackers@arkaria.postgresql.org; Fri, 14 Oct 2016 04:39:39 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1buuHS-0000XE-MS for pgsql-hackers@arkaria.postgresql.org; Fri, 14 Oct 2016 04:39:38 +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 1buuG3-0006mJ-IZ for pgsql-hackers@postgresql.org; Fri, 14 Oct 2016 04:38:11 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1buuG1-0003nD-2n for pgsql-hackers@postgresql.org; Fri, 14 Oct 2016 04:38:10 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 46D3C207BF; Fri, 14 Oct 2016 00:38:08 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute2.internal (MEProxy); Fri, 14 Oct 2016 00:38:08 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=YPVO7MpxgblesSt eKh+lk/MxxKM=; b=RlWSvu+u49Yp6VyzBc2hcOPQdXfFzOS7p0otZs+OmRp/BRI 9xnK/R8mv3NehQFwsWRbwS55+vurD9LXsYoi4QYJmZEgh5AKRvGHkBRISWgfTo67 n3lpPHCxxMlzG4b8/e3+NQwCJqx4YQgneTfhQ9mXpLoBvFx+jHNtKZkfNRTM= X-Sasl-enc: 49GV0DCZmiGtC90SSiT9eax9ygBsiH0bNOms+tfs1V4T 1476419888 Received: from april.local (c-73-13-66-39.hsd1.pa.comcast.net [73.13.66.39]) by mail.messagingengine.com (Postfix) with ESMTPA id E1531CC0B7; Fri, 14 Oct 2016 00:38:06 -0400 (EDT) Subject: Re: Renaming of pg_xlog and pg_clog To: Tom Lane References: <78d8090c-84c3-3eb6-0b6a-5a4db90d6fbb@2ndqu! adrant.com> <15297.1476285726@sss.pgh.pa.us> Cc: Michael Paquier , Robert Haas , Thomas Munro , Craig Ringer , Jim Nasby , PostgreSQL Hackers , Andres Freund From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: <071f8400-b966-1a0b-9066-e5bb789189d7@2ndquadrant.com> Date: Fri, 14 Oct 2016 00:38:06 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <15297.1476285726@sss.pgh.pa.us> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Pg-Spam-Score: -2.6 (--) 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 On 10/12/16 11:22 AM, Tom Lane wrote: > The main problem we're trying to fix here is people thinking that > something with "log" in the name contains discardable data. Just > relocating the directory without renaming it won't improve that. I think it would help if we moved it to something like "internal/pg_xlog" and "internal/pg_clog". Keep the name but move it out of sight. We have a tool called pg_xlogdump in the standard installation. initdb has an option --xlogdir, pg_basebackup has --xlog and others. Renaming the xlog directory would make this all a bit confusing, unless we're prepared to rename the programs and options as well. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers