Re: [HACKERS] pg_upgrade vs. pg_ctl stop -m fast - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] pg_upgrade vs. pg_ctl stop -m fast
Date
Msg-id 16824.1484234272@sss.pgh.pa.us
Whole thread Raw
In response to [HACKERS] pg_upgrade vs. pg_ctl stop -m fast  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Responses Re: [HACKERS] pg_upgrade vs. pg_ctl stop -m fast  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes:
> In 9.5, the default pg_ctl stop mode was changed from "smart" to "fast".
> In pg_upgrade, there is this code:
>     ...
> I think the last line should be changed to something like
>               fast ? "-m fast" : "-m smart");

Ugh.  Clear oversight.

There is maybe room for a separate discussion about whether pg_upgrade
*should* be using fast mode, but if so we could remove the "bool fast"
argument from this function altogether.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: [HACKERS] pg_upgrade vs. pg_ctl stop -m fast
Next
From: Robert Haas
Date:
Subject: Re: [HACKERS] UNDO and in-place update