Re: Fast or immediate shutdown

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Simon Riggs <simon(at)2ndQuadrant(dot)com>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Fast or immediate shutdown
Date: 2010-02-19 19:48:56
Message-ID: 201002191948.o1JJmup05240@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Simon Riggs wrote:
> On Wed, 2009-12-16 at 17:04 +0200, Peter Eisentraut wrote:
> > On tis, 2009-12-15 at 17:19 +0000, Simon Riggs wrote:
> > > running with log_checkpoints = on
> > >
> > > pg_ctl -D foo -m fast stop
> > >
> > > log says
> > >
> > > LOG: received fast shutdown request
> > > LOG: aborting any active transactions
> > > LOG: shutting down
> > > LOG: restartpoint starting: shutdown immediate
> > >
> > > Some of us know that the "immediate" word refers to the restartpoint
> > > request, though that word causes conceptual conflict with the shutdown
> > > mode, which was fast, not immediate.
> > >
> > > Think we need to change the wording of this
> > >
> > > LOG: restartpoint starting: shutdown immediate
> > >
> > > so it is clearer what we mean
> >
> > We *do* we mean? And why are we logging it?
>
> The words after the colon refer to options sent to RequestCheckpoint and
> it is logged because we asked for it by doing log_checkpoints = on.
>
> I suggest we say "smoothed" when checkpoint option is !immediate. So we
> will remove the word "immediate" from the message.

Did we decide not the change this?

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2010-02-19 19:51:12 Re: PGXS: REGRESS_OPTS=--load-language=plpgsql
Previous Message Tom Lane 2010-02-19 19:47:32 Re: PGXS: REGRESS_OPTS=--load-language=plpgsql