Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bv5Ew-0001VP-B0 for pgsql-hackers@arkaria.postgresql.org; Fri, 14 Oct 2016 16:21:46 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bv5Ev-0000xC-Sv for pgsql-hackers@arkaria.postgresql.org; Fri, 14 Oct 2016 16:21:45 +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 1bv5DX-0006Ih-1y for pgsql-hackers@postgresql.org; Fri, 14 Oct 2016 16:20:19 +0000 Received: from tamriel.snowman.net ([2001:4830:167b::11]) by makus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bv5DP-0007za-Sb for pgsql-hackers@postgresql.org; Fri, 14 Oct 2016 16:20:17 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id 3FA195F7B0; Fri, 14 Oct 2016 12:19:41 -0400 (EDT) Date: Fri, 14 Oct 2016 12:19:41 -0400 From: Stephen Frost To: Jim Nasby Cc: Christoph Berg , Peter Eisentraut , Tom Lane , Michael Paquier , Robert Haas , Thomas Munro , Craig Ringer , PostgreSQL Hackers , Andres Freund Subject: Re: Renaming of pg_xlog and pg_clog Message-ID: <20161014161941.GC13284@tamriel.snowman.net> References: <78d8090c-84c3-3eb6-0b6a-5a4db90d6fbb@2ndqu!adrant.com> <15297.1476285726@sss.pgh.pa.us> <071f8400-b966-1a0b-9066-e5bb789189d7@2ndquadrant.com> <20161014113523.GZ13284@tamriel.snowman.net> <20161014125833.gffsfvsqe3wzowee@msg.df7cb.de> <20161014140630.GB13284@tamriel.snowman.net> <66896734-c544-f71d-0531-89238cf0b39b@BlueTreble.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="pZtAG9wM4xcPQMtr" Content-Disposition: inline In-Reply-To: <66896734-c544-f71d-0531-89238cf0b39b@BlueTreble.com> 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: 12:14:21 up 97 days, 17:38, 20 users, load average: 0.20, 0.13, 0.13 User-Agent: Mutt/1.5.21 (2010-09-15) X-Pg-Spam-Score: -2.3 (--) 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 --pZtAG9wM4xcPQMtr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Jim Nasby (Jim.Nasby@BlueTreble.com) wrote: > On 10/14/16 9:06 AM, Stephen Frost wrote: > >>> And internal/base and internal/global and internal/pg_... because > >>> these shouldn't be touched by the users either. > >>> > >>> I don't think this would lead anywhere. > >It'd probably be easier to move the things that are *not* PG internal > >(eg: config files, et al) *out* of the data directory and into somewhere > >sensible, like /etc ... >=20 > I do think it would be an improvement to segregate things users are > expected to touch (*.conf and pg_log are what come to mind) from > everything else, which could easily be done by moving everything > else to an internal/ directory. I agree that's not much of an > improvement for pg_[cx]log, but we could create internal/ as well as > rename some things. Apologis, I should have made it clear what I was getting at. The Debian/Ubuntu packaging already does segregate out the *.conf and pg_log into other locations based on the FHS. On a Debian-based system, there really shouldn't be anything that the user is expected to touch under /var/lib (where the PG data directory lives). Thanks! Stephen --pZtAG9wM4xcPQMtr Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJYAQWcAAoJEO1sijiDR2RVRNMQALYfRHKwUkjS4yKbdxhGngOg JAJe19R85B4yHUNA7EqGekuSvS2FeXBIal9gvzxo9F0CjCWiJZtR/8ILsqgmg2qq FIESQZTPczUfCf8i4Cp5kEp6J3a1slwp67ESnpqzMv5ZiqVn5uOdA/icsat59ZAi WREe3FAZVPaeZw8mI0fViZc+XNfd/YQp2Pym8fI6yrw9cMuO6DRm4n0vMcHItsBn +8+VNHOoKbTtbcyczPIpY9ESz6c8UiEu6v7ZVFuB3Xc3ddgD9vemzaPNrfRv4tlL 7LljMXfdfcHUt2ZVnu5mMr2Cwp0tEzRZrXwMdxfXEk7pbyiHocMhfKakv829k1Na raAZEtgZ6d1cITE+qsnrwJSoLSCEoHCG1qZF2KTVbpqNJy420m8hYYdQLtB0pwFP wn0eJhzgmp/Ht7hj85AMyTWwpbfL+YW+A7jjPFdsIDORcBiUPsf3ArJxTjkwmfHH O4lohENL97gTpRPtzpg0E0GKN53aBwfzbjl7IozvFKJxoWv31G7HvCHv33DlevrX zL6l0+7khMSmuZ+agBswff8CDLgk3c4fBsFmtyLyXoRrgVkjlnWW1TJiiaPdV7GO v2I2FYz+qatzxNKEvXcOOtH0346VUODg1+294ZZuTg+Lizgr+7e0RTUae3hxRTjj ojszT0ryuGFs7VjZJKqg =wJ6M -----END PGP SIGNATURE----- --pZtAG9wM4xcPQMtr--