Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1byfTZ-000845-SU for pgsql-hackers@arkaria.postgresql.org; Mon, 24 Oct 2016 13:39:41 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1byfTZ-0004KQ-FH for pgsql-hackers@arkaria.postgresql.org; Mon, 24 Oct 2016 13:39:41 +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 1byfSC-0002fo-Gx for pgsql-hackers@postgresql.org; Mon, 24 Oct 2016 13:38:16 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1byfS7-0001le-TO for pgsql-hackers@postgresql.org; Mon, 24 Oct 2016 13:38:16 +0000 Received: from bruce by momjian.us with local (Exim 4.84_2) (envelope-from ) id 1byfRv-0003yT-2a; Mon, 24 Oct 2016 09:37:59 -0400 Date: Mon, 24 Oct 2016 09:37:59 -0400 From: Bruce Momjian To: Greg Stark Cc: Stephen Frost , Robert Haas , Tom Lane , Christoph Berg , Peter Eisentraut , Michael Paquier , Thomas Munro , Craig Ringer , Jim Nasby , PostgreSQL Hackers , Andres Freund Subject: Re: Renaming of pg_xlog and pg_clog Message-ID: <20161024133759.GA11907@momjian.us> References: <20161018220909.GA11661@momjian.us> <20161019110528.d5w7t6qnmpsosmjg@msg.df7cb.de> <4861.1476978513@sss.pgh.pa.us> <20161020161216.GU13284@tamriel.snowman.net> <20161021134754.GZ13284@tamriel.snowman.net> <20161021180327.GE13284@tamriel.snowman.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Pg-Spam-Score: -3.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 On Sat, Oct 22, 2016 at 11:18:28PM +0300, Greg Stark wrote: > On Fri, Oct 21, 2016 at 9:03 PM, Stephen Frost wrote: > > WARNING: The following essential packages will be removed. > > This should NOT be done unless you know exactly what you are doing! > > login > > 0 upgraded, 0 newly installed, 1 to remove and 71 not upgraded. > > After this operation, 1,212 kB disk space will be freed. > > You are about to do something potentially harmful. > > To continue type in the phrase 'Yes, do as I say!' > > Another case was: > glxgears -iacknowledgethatthistoolisnotabenchmark > > Which was required to get it to print the FPS for a while. The problem > -- and also the advantage -- of this is that it's scriptable. That > means people can still put it in recipe books and scripts and others > can copy it without being aware what it does or even that they're > doing it. > > I think the apt-get behaviour was specifically designed to ensure it > couldn't easily be put into a script which I would have said was > desirable -- except I suspect there are situations where Postgres > database scripts need to do a resetxlog. I'm not sure I can think of > any examples offhand but I wouldn't be too surprised. Yes, pg_upgrade has eight calls to pg_resetxlog to set various value. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + As you are, so once was I. As I am, so you will be. + + Ancient Roman grave inscription + -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers