From: Bruce Momjian <bruce@momjian.us>
To: kalyanithumati@gmail.com
To: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15376: Postgres sql 9.4.19 pg_upgrade stops with error The source cluster was not shut down cleanly.
Date: Sun, 9 Sep 2018 22:10:42 -0400
Message-ID: <20180910021042.GA22703@momjian.us> (raw)
In-Reply-To: <20180909222224.GA13949@momjian.us>
References: <153650968546.23141.16889932223808209670@wrigleys.postgresql.org>
<20180909222224.GA13949@momjian.us>
On Sun, Sep 9, 2018 at 06:22:24PM -0400, Bruce Momjian wrote:
> On Sun, Sep 9, 2018 at 04:14:45PM +0000, PG Bug reporting form wrote:
> What 9.4.19 fixed is that users were doing a pg_ctl -m immediate, and
> then running pg_upgrade, and getting _silently_ corrupted upgrades.
> 9.4.19 fixes this so pg_upgrade properly complains when this happens.
>
> You should only see that error if you are doing "immediate" shutdowns of
> your server, and this is not supported, and throws ane error. Are you
> seeing the pg_upgrade error message when you do a _clean_ shutdown of
> your servers?
Also, you can't run pg_upgrade directly on standby servers. You have to
either make it a primary server or use the rsync instructions in the
pg_upgrade docs. The next minor release will have a better error
message on this.
--
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 +
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-bugs@postgresql.org
Cc: bruce@momjian.us, kalyanithumati@gmail.com
Subject: Re: BUG #15376: Postgres sql 9.4.19 pg_upgrade stops with error The source cluster was not shut down cleanly.
In-Reply-To: <20180910021042.GA22703@momjian.us>
References: <153650968546.23141.16889932223808209670@wrigleys.postgresql.org> <20180909222224.GA13949@momjian.us> <20180910021042.GA22703@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