pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Brad White <b55white@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Upgrading to v12
Date: Fri, 11 Nov 2022 17:27:34 -0500
Message-ID: <128408.1668205654@sss.pgh.pa.us> (raw)
In-Reply-To: <CAA_1=91APU3ztgWOVTYjsG6L9pt-OrurWabsnQXX08_S4nZ4OA@mail.gmail.com>
References: <CAA_1=91Vc9a2g4wKNsHoNoMuXDpqQXNhhWq0mRyJMxUAKiEkDQ@mail.gmail.com>
	<ec6d3d2e-18f7-db89-c269-b5f28cfe0183@aklaver.com>
	<CAA_1=91AU7WaHP-_4mwPVHZVskL6gQOYJ6Tm7VooEhFvtj2_cw@mail.gmail.com>
	<CAA_1=93vKW50Ny8kyEtrM=1s8CYU1isFueAOSL+zNpH1Pzzvmg@mail.gmail.com>
	<9aa1a829-3367-74cf-1630-a91a4d67d41d@aklaver.com>
	<CAA_1=91APU3ztgWOVTYjsG6L9pt-OrurWabsnQXX08_S4nZ4OA@mail.gmail.com>

Brad White <b55white@gmail.com> writes:
>> Can you do a pg_dump of that database?

> Yes. No visible problems. No errors reported.

Well, that's quite interesting, because pg_dump ought to read
all the same catalogs that pg_upgrade is failing to read.
So I'm not quite sure what's going on there.  Nonetheless,
your path forward is clear: use pg_dump (or better pg_dumpall)
and then load the output into a freshly initdb'd v12 installation.
It'll be a bit slower than the pg_upgrade way, but it'll work.

			regards, tom lane





view thread (31+ messages)  latest in thread

Message-ID: <128408.1668205654@sss.pgh.pa.us>
Permalink:  ../128408.1668205654@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/128408.1668205654@sss.pgh.pa.us

 · 

reply

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-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, b55white@gmail.com
  Subject: Re: Upgrading to v12
  In-Reply-To: <128408.1668205654@sss.pgh.pa.us>
  References: <CAA_1=91Vc9a2g4wKNsHoNoMuXDpqQXNhhWq0mRyJMxUAKiEkDQ@mail.gmail.com> <ec6d3d2e-18f7-db89-c269-b5f28cfe0183@aklaver.com> <CAA_1=91AU7WaHP-_4mwPVHZVskL6gQOYJ6Tm7VooEhFvtj2_cw@mail.gmail.com> <CAA_1=93vKW50Ny8kyEtrM=1s8CYU1isFueAOSL+zNpH1Pzzvmg@mail.gmail.com> <9aa1a829-3367-74cf-1630-a91a4d67d41d@aklaver.com> <CAA_1=91APU3ztgWOVTYjsG6L9pt-OrurWabsnQXX08_S4nZ4OA@mail.gmail.com> <128408.1668205654@sss.pgh.pa.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