pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Sean Brown <sean.brown@saminds.com>
To: pgsql-general@postgresql.org
Subject: Re: pg_upgrade issue upgrading 10 -> 13
Date: Thu, 1 Oct 2020 09:03:31 -0700
Message-ID: <bbfe4ac5-474f-353a-7c2a-86474aba866e@aklaver.com> (raw)
In-Reply-To: <918798A5-7ADF-4252-A2BF-E5639F45EC15@saminds.com>
References: <918798A5-7ADF-4252-A2BF-E5639F45EC15@saminds.com>

On 10/1/20 7:51 AM, Sean Brown wrote:
> I’m having a little problem using pg_upgrade to move from 10 to 13, I’m assuming the issue is related to the removal of pg_pltemplate, but I can’t find anything related to how to handle it.
> 
> pg_upgrade —check reports that the clusters are compatible, but the actual upgrade fails starting the new cluster with -
> 
> ERROR: relation “pg_catalog.pg_pltemplate” does not exist
> STATEMENT: GRANT SELECT ON TABLE “pg_catalog"."pg_pltemplate” TO "appuser”;

Which points to the dangers of doing things to the system tables. They 
can change/disappear between major versions.

> 
> Is there a way to deal with this that doesn’t include dropping the source table?
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com





view thread (5+ messages)  latest in thread

Message-ID: <bbfe4ac5-474f-353a-7c2a-86474aba866e@aklaver.com>
Permalink:  ../bbfe4ac5-474f-353a-7c2a-86474aba866e@aklaver.com/
Also on:    postgresql.org/message-id/bbfe4ac5-474f-353a-7c2a-86474aba866e@aklaver.com

 · 

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: adrian.klaver@aklaver.com, sean.brown@saminds.com
  Subject: Re: pg_upgrade issue upgrading 10 -> 13
  In-Reply-To: <bbfe4ac5-474f-353a-7c2a-86474aba866e@aklaver.com>
  References: <918798A5-7ADF-4252-A2BF-E5639F45EC15@saminds.com> <bbfe4ac5-474f-353a-7c2a-86474aba866e@aklaver.com>

* 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