Re: pg_upgrade check for invalid databases - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pg_upgrade check for invalid databases
Date
Msg-id 1455756.1727708139@sss.pgh.pa.us
Whole thread Raw
In response to Re: pg_upgrade check for invalid databases  (Nathan Bossart <nathandbossart@gmail.com>)
Responses Re: pg_upgrade check for invalid databases
List pgsql-hackers
Nathan Bossart <nathandbossart@gmail.com> writes:
> Should we have pg_upgrade skip invalid databases?  If the only valid action
> is to drop them, IMHO it seems unnecessary to require users to manually
> drop them before retrying pg_upgrade.

I was thinking the same.  But I wonder if there is any chance of
losing data that could be recoverable.  It feels like this should
not be a default behavior.

TBH I'm not finding anything very much wrong with the current
behavior... this has to be a rare situation, do we need to add
debatable behavior to make it easier?

            regards, tom lane



pgsql-hackers by date:

Previous
From: Maxim Orlov
Date:
Subject: Do not lock temp relations
Next
From: Andrew Dunstan
Date:
Subject: Re: msys inet_pton strangeness