Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ixC9Z-0001iG-IV for pgsql-hackers@arkaria.postgresql.org; Thu, 30 Jan 2020 15:54:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ixC9Y-0008BK-Ai for pgsql-hackers@arkaria.postgresql.org; Thu, 30 Jan 2020 15:54:48 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ixC9X-0008BD-Uf for pgsql-hackers@lists.postgresql.org; Thu, 30 Jan 2020 15:54:48 +0000 Received: from oss.nttdata.com ([49.212.34.109]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ixC9U-0007pM-SV for pgsql-hackers@postgresql.org; Thu, 30 Jan 2020 15:54:46 +0000 Received: from hnk.local (p1752128-ipbf1308funabasi.chiba.ocn.ne.jp [123.218.229.128]) by oss.nttdata.com (Postfix) with ESMTPSA id 6C2246029A; Fri, 31 Jan 2020 00:54:40 +0900 (JST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.101.5 at oss.nttdata.com Subject: Re: table partitioning and access privileges To: Amit Langote Cc: Fujii Masao , Tom Lane , PostgreSQL-development References: <6218.1577388354@sss.pgh.pa.us> <3546b691-b744-12c9-fd2f-7dc31c3c030e@oss.nttdata.com> <0ff3cecc-20f4-4ee4-fbfc-601a6a5a9eab@oss.nttdata.com> From: Fujii Masao Message-ID: Date: Fri, 31 Jan 2020 00:54:40 +0900 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.4.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2020/01/27 14:02, Amit Langote wrote: > Fujii-san, > > On Mon, Jan 27, 2020 at 11:19 AM Fujii Masao > 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