Re: pg_upgrade from PG-14.5 to PG-15.1 failing due to non-existing function

Поиск
Список
Период
Сортировка
От David Geier
Тема Re: pg_upgrade from PG-14.5 to PG-15.1 failing due to non-existing function
Дата
Msg-id 04508140-03c0-f434-c088-0bf75318edae@gmail.com
обсуждение исходный текст
Ответ на pg_upgrade from PG-14.5 to PG-15.1 failing due to non-existing function  (Dimos Stamatakis <dimos.stamatakis@servicenow.com>)
Список pgsql-hackers
Hi,

On 1/25/23 19:38, Dimos Stamatakis wrote:
>
> Hi hackers,
>
> I attempted to perform an upgrade from PG-14.5 to PG-15.1 with 
> pg_upgrade and unfortunately it errors out because of a function that 
> does not exist anymore in PG-15.1.
>
> The function is ‘pg_catalog.close_lb’ and it exists in 14.5 but not in 
> 15.1.
>
> In our scenario we changed the permissions of this function in PG14.5 
> (via an automated tool) and then pg_upgrade tries to change the 
> permissions in PG15.1 as well.
>
Here [1] is a very similar issue that has been reported in 2019.

The patch didn't make it in but it also seems to not fix the issue 
reported by Dimos. The patch in [1] seems to be concerned with changed 
function signatures rather than with dropped functions. Maybe [1] could 
be revived and extended to also ignore dropped functions?

[1] 
https://www.postgresql.org/message-id/flat/f85991ad-bbd4-ad57-fde4-e12f0661dbf0%40postgrespro.ru

-- 
David Geier
(ServiceNow)




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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: improving user.c error messages
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: meson oddities