Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bdJzy-0001zV-4M for pgsql-hackers@arkaria.postgresql.org; Fri, 26 Aug 2016 16:28:54 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bdJzx-0006l5-Ex for pgsql-hackers@arkaria.postgresql.org; Fri, 26 Aug 2016 16:28:53 +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 1bdJzw-0006kK-6l for pgsql-hackers@postgresql.org; Fri, 26 Aug 2016 16:28:52 +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 1bdJzp-0007O2-5a for pgsql-hackers@postgresql.org; Fri, 26 Aug 2016 16:28:51 +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 u7QGSfhp028390; Fri, 26 Aug 2016 12:28:41 -0400 From: Tom Lane To: Magnus Hagander cc: Peter Eisentraut , Michael Paquier , PostgreSQL-development Subject: Re: Renaming of pg_xlog and pg_clog In-reply-to: References: <0a089d6a-ff1d-88b0-5966-44bbbe5aa202@2ndquadrant.com> Comments: In-reply-to Magnus Hagander message dated "Fri, 26 Aug 2016 17:58:45 +0200" Date: Fri, 26 Aug 2016 12:28:41 -0400 Message-ID: <28389.1472228921@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 Magnus Hagander writes: > On Aug 26, 2016 5:54 PM, "Peter Eisentraut" < > peter.eisentraut@2ndquadrant.com> wrote: >> If we're going to do some renaming, then I suggest we do a >> mini-file-system structure under $PGDATA, like >> >> $PGDATA/etc >> $PGDATA/log >> $PGDATA/run (lock files etc.) >> $PGDATA/tmp >> $PGDATA/var >> >> The names of all the things under "var" could still be refined, but it's >> much less likely that users will confuse data with configuration or >> plain logs under that scheme > Interesting idea. I worry a bit that this might encourage distributions to > split it up into different places though, and I'm not sure we want to > encourage that.. Yeah, I'm afraid that these names are not as well standardized as Peter probably wishes they were. Also, I'd just as soon not move/rename things that don't really need it. If, for example, we decide to move postgresql.conf to etc/postgresql.conf, that is going to break a metric ton of stuff that doesn't need to get broken AFAICS. 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