Re: pg_upgrade fails with non-standard ACL - Mailing list pgsql-hackers

From Anastasia Lubennikova
Subject Re: pg_upgrade fails with non-standard ACL
Date
Msg-id 6680dc1f-6266-5cdb-b50e-c1645604222a@postgrespro.ru
Whole thread Raw
In response to Re: pg_upgrade fails with non-standard ACL  (Anastasia Lubennikova <a.lubennikova@postgrespro.ru>)
Responses Re: pg_upgrade fails with non-standard ACL  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List 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


Attachment

pgsql-hackers by date:

Previous
From: Justin Pryzby
Date:
Subject: Re: should CREATE INDEX ON partitioned_table callPreventInTransactionBlock() ?
Next
From: Odin Ugedal
Date:
Subject: [PATCH] Add support for choosing huge page size