Re: BUG #15807: pg_upgrade does not account for renaming of systemcatalog column names - Mailing list pgsql-bugs

From Richard Yen
Subject Re: BUG #15807: pg_upgrade does not account for renaming of systemcatalog column names
Date
Msg-id CAKH4vDjx58ja=afr4cDO8VpwC=3PQ+m_PdNk=nnOyNLuae7wsw@mail.gmail.com
Whole thread Raw
In response to Re: BUG #15807: pg_upgrade does not account for renaming of system catalog column names  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
Ok, thanks for the clarification!

--Richard

On Wed, May 15, 2019 at 11:39 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
PG Bug reporting form <noreply@postgresql.org> writes:
> example: pg_stat_replication.sent_location was renamed to
> pg_stat_replication.sent_lsn in v10.

Yeah, that's a documented compatibility issue, per the v10 notes:

  * Rename WAL-related functions and views to use lsn instead of location
    (David Rowley)

> If a view in 9.6 refers to
> pg_stat_replication.sent_location, pg_upgrade fails entirely because "column
> pg_stat_replication.sent_location does not exist"

It is not pg_upgrade's job to fix such things.  Sorry.

                        regards, tom lane

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #15807: pg_upgrade does not account for renaming of system catalog column names
Next
From: Daniel Gustafsson
Date:
Subject: Re: BUG #15805: Problem with lower function for greek sigma (Σ) letter