Re: pg_upgrade fails with non-standard ACL

Поиск
Список
Период
Сортировка
От Anastasia Lubennikova
Тема Re: pg_upgrade fails with non-standard ACL
Дата
Msg-id 6680dc1f-6266-5cdb-b50e-c1645604222a@postgrespro.ru
обсуждение исходный текст
Ответ на Re: pg_upgrade fails with non-standard ACL  (Anastasia Lubennikova <a.lubennikova@postgrespro.ru>)
Ответы Re: pg_upgrade fails with non-standard ACL  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-hackers
On 06.04.2020 19:40, Anastasia Lubennikova wrote:
> On 06.04.2020 16:49, Anastasia Lubennikova wrote:
>> New version of the patch is attached. I fixed several issues in the 
>> check_for_changed_signatures().
>>
>> Now it passes check without "test_rename_catalog_objects" and fails 
>> (generates script) with it. Test script pg_upgrade_ACL_test.sh 
>> demonstrates this.
>>
>> The only known issue left is the usage of pg_identify_object(), 
>> though I don't see a problem here with object types that this patch 
>> involves.
>> As I updated the code, I will leave this patch in Need Review.
>>
> One more fix for free_acl_infos().
> Thanks to cfbot.
>
One more update.
In this version I rebased test patches,  added some more comments, fixed 
memory allocation issue and also removed code that handles ACLs on 
languages. They require a lot of specific handling, while I doubt that 
their signatures, which consist of language name only, are subject to 
change in any future versions.

-- 
Anastasia Lubennikova
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company


Вложения

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

Предыдущее
От: Justin Pryzby
Дата:
Сообщение: Re: should CREATE INDEX ON partitioned_table callPreventInTransactionBlock() ?
Следующее
От: Odin Ugedal
Дата:
Сообщение: [PATCH] Add support for choosing huge page size