Re: BUG #15807: pg_upgrade does not account for renaming of system catalog column names

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #15807: pg_upgrade does not account for renaming of system catalog column names
Дата
Msg-id 17248.1557945547@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #15807: pg_upgrade does not account for renaming of system catalog column names  (PG Bug reporting form <noreply@postgresql.org>)
Ответы Re: BUG #15807: pg_upgrade does not account for renaming of systemcatalog column names  (Richard Yen <richyen3@gmail.com>)
Список pgsql-bugs
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 по дате отправления:

Предыдущее
От: PG Bug reporting form
Дата:
Сообщение: BUG #15807: pg_upgrade does not account for renaming of system catalog column names
Следующее
От: Richard Yen
Дата:
Сообщение: Re: BUG #15807: pg_upgrade does not account for renaming of systemcatalog column names