Re: pg_upgrade issue upgrading 10 -> 13

Поиск
Список
Период
Сортировка
От Thomas Kellerer
Тема Re: pg_upgrade issue upgrading 10 -> 13
Дата
Msg-id e06ce752-4e0c-81f2-869b-bd41486d1f37@gmx.net
обсуждение исходный текст
Ответ на pg_upgrade issue upgrading 10 -> 13  (Sean Brown <sean.brown@saminds.com>)
Ответы Re: pg_upgrade issue upgrading 10 -> 13  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-general

Sean Brown schrieb am 01.10.2020 um 16:51:
> 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”;
>
> Is there a way to deal with this that doesn’t include dropping the
> source table?
>

Does revoking the privilege before running pg_upgrade help?

So in the v10 database:

   revoke select on pg_catalog.pg_pltemplate from appuser;








В списке pgsql-general по дате отправления:

Предыдущее
От: Sean Brown
Дата:
Сообщение: pg_upgrade issue upgrading 10 -> 13
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: pg_upgrade issue upgrading 10 -> 13