Re: table partitioning and access privileges - Mailing list pgsql-hackers

From Fujii Masao
Subject Re: table partitioning and access privileges
Date
Msg-id a82339fa-37c6-be86-96b0-fa42ee981d6d@oss.nttdata.com
Whole thread Raw
In response to Re: table partitioning and access privileges  (Amit Langote <amitlangote09@gmail.com>)
List pgsql-hackers

On 2020/01/27 14:02, Amit Langote wrote:
> Fujii-san,
> 
> On Mon, Jan 27, 2020 at 11:19 AM Fujii Masao
> <masao.fujii@oss.nttdata.com> wrote:
>> On 2020/01/23 22:14, Fujii Masao wrote:
>>> Thanks for updating the patch! Barring any objection,
>>> I will commit this fix and backport it to all supported versions.
>>
>> Attached are the back-port versions of the patches.
>>
>>
>> The patch for master branch separates truncate_check_activity() into two
>> functions, but in v11 or before, truncate_check_activity() didn't exist and
>> its code was in truncate_check_rel(). So I had to write the back-port
>> version
>> of the patch for the previous versions and separate truncate_check_rel()
>> into three functions, i.e., truncate_check_rel(),
>> truncate_check_activity() and
>> truncate_check_perms().
> 
> Thank you for creating the back-port versions.  I agree with making
> the code look similar in all supported branches for the ease of future
> maintenance.

Thanks for the check! I pushed the patches.

Regards,

-- 
Fujii Masao
NTT DATA CORPORATION
Advanced Platform Technology Group
Research and Development Headquarters



pgsql-hackers by date:

Previous
From: Dmitry Dolgov
Date:
Subject: Re: SimpleLruTruncate() mutual exclusion
Next
From: Tom Lane
Date:
Subject: Re: table partitioning and access privileges