Re: pg_upgrade analyze script - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: pg_upgrade analyze script
Date
Msg-id 20201006190509.GB12277@momjian.us
Whole thread Raw
In response to pg_upgrade analyze script  (Magnus Hagander <magnus@hagander.net>)
Responses Re: pg_upgrade analyze script  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
On Tue, Oct  6, 2020 at 11:43:01AM +0200, Magnus Hagander wrote:
> For a long time now, pg_upgrade drops a script (analyze_new_cluster.sh) that
> just calls vacuumdb to run the analyze in stages. This script made a lot of
> sense back when it actually implemented the stages, but these days since it's
> just calling a single command, I think it's just unnecessary complication.
> 
> I suggest we drop it and just replace it with instructions to call vacuumdb
> directly.

Uh, that script has instructions on what is running.  Do we want to show
that at the end of running pg_upgrade or do people understand "stages"
by now?

> Attached patch does this. It also removes the support in the instructions that
> talk about pre-8.4 databases, which I believe is dead code per https://
> postgr.es/m/CABUevEx-D0PNVe00tkeQRGennZQwDtBJn=493MJt-x6sppbUxA@mail.gmail.com.

I just removed that.

-- 
  Bruce Momjian  <bruce@momjian.us>        https://momjian.us
  EnterpriseDB                             https://enterprisedb.com

  The usefulness of a cup is in its emptiness, Bruce Lee




pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: pg_upgrade dead code for pre-8.4 versions
Next
From: Tom Lane
Date:
Subject: Re: Add primary keys to system catalogs