From: Bruce Momjian <bruce@momjian.us>
To: Greg Stark <stark@mit.edu>
Cc: Stephen Frost <sfrost@snowman.net>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Christoph Berg <myon@debian.org>
Cc: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: Michael Paquier <michael.paquier@gmail.com>
Cc: Thomas Munro <thomas.munro@enterprisedb.com>
Cc: Craig Ringer <craig.ringer@2ndquadrant.com>
Cc: Jim Nasby <Jim.Nasby@bluetreble.com>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Cc: Andres Freund <andres@anarazel.de>
Subject: Re: Renaming of pg_xlog and pg_clog
Date: Mon, 24 Oct 2016 09:37:59 -0400
Message-ID: <20161024133759.GA11907@momjian.us> (raw)
In-Reply-To: <CAM-w4HNw4FvashNFnSBAiybyLmieiZDNyHBEYrPrvi78vgqjNQ@mail.gmail.com>
References: <20161018220909.GA11661@momjian.us>
<20161019110528.d5w7t6qnmpsosmjg@msg.df7cb.de>
<CA+TgmoYWdoPqDA5Gd4o_rLqbk3-yCRvg3=b7BfkjVwJ_zR+0Ow@mail.gmail.com>
<4861.1476978513@sss.pgh.pa.us>
<20161020161216.GU13284@tamriel.snowman.net>
<CA+TgmobbKvONjx9RWKn7Wj-nLQsNwW5qh8evncB8evmqdou_GQ@mail.gmail.com>
<20161021134754.GZ13284@tamriel.snowman.net>
<CA+TgmoZwKF+XhDiw2evy5EwHbqA3e66bmOaBWE1mERfWqGSZsw@mail.gmail.com>
<20161021180327.GE13284@tamriel.snowman.net>
<CAM-w4HNw4FvashNFnSBAiybyLmieiZDNyHBEYrPrvi78vgqjNQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
On Sat, Oct 22, 2016 at 11:18:28PM +0300, Greg Stark wrote:
> On Fri, Oct 21, 2016 at 9:03 PM, Stephen Frost <sfrost@snowman.net> 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 <bruce@momjian.us> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers@postgresql.org
Cc: bruce@momjian.us, stark@mit.edu, sfrost@snowman.net, robertmhaas@gmail.com, tgl@sss.pgh.pa.us, myon@debian.org, peter.eisentraut@2ndquadrant.com, michael.paquier@gmail.com, thomas.munro@enterprisedb.com, craig.ringer@2ndquadrant.com, Jim.Nasby@bluetreble.com, andres@anarazel.de
Subject: Re: Renaming of pg_xlog and pg_clog
In-Reply-To: <20161024133759.GA11907@momjian.us>
References: <20161018220909.GA11661@momjian.us> <20161019110528.d5w7t6qnmpsosmjg@msg.df7cb.de> <CA+TgmoYWdoPqDA5Gd4o_rLqbk3-yCRvg3=b7BfkjVwJ_zR+0Ow@mail.gmail.com> <4861.1476978513@sss.pgh.pa.us> <20161020161216.GU13284@tamriel.snowman.net> <CA+TgmobbKvONjx9RWKn7Wj-nLQsNwW5qh8evncB8evmqdou_GQ@mail.gmail.com> <20161021134754.GZ13284@tamriel.snowman.net> <CA+TgmoZwKF+XhDiw2evy5EwHbqA3e66bmOaBWE1mERfWqGSZsw@mail.gmail.com> <20161021180327.GE13284@tamriel.snowman.net> <CAM-w4HNw4FvashNFnSBAiybyLmieiZDNyHBEYrPrvi78vgqjNQ@mail.gmail.com> <20161024133759.GA11907@momjian.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox