From: Tom Lane <tgl@sss.pgh.pa.us>
To: richyen3@gmail.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15807: pg_upgrade does not account for renaming of system catalog column names
Date: Wed, 15 May 2019 14:39:07 -0400
Message-ID: <17248.1557945547@sss.pgh.pa.us> (raw)
In-Reply-To: <15807-eea2e5f7dc794282@postgresql.org>
References: <15807-eea2e5f7dc794282@postgresql.org>
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
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: tgl@sss.pgh.pa.us, richyen3@gmail.com
Subject: Re: BUG #15807: pg_upgrade does not account for renaming of system catalog column names
In-Reply-To: <17248.1557945547@sss.pgh.pa.us>
References: <15807-eea2e5f7dc794282@postgresql.org> <17248.1557945547@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