Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ciZyH-0000Jf-Up for pgsql-hackers@arkaria.postgresql.org; Tue, 28 Feb 2017 05:05:10 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1ciZyH-0001cu-Cn for pgsql-hackers@arkaria.postgresql.org; Tue, 28 Feb 2017 05:05:09 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ciZwl-00055A-VW for pgsql-hackers@postgresql.org; Tue, 28 Feb 2017 05:03:36 +0000 Received: from tama500.ecl.ntt.co.jp ([129.60.39.148]) by magus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ciZwg-0002UA-FV for pgsql-hackers@postgresql.org; Tue, 28 Feb 2017 05:03:34 +0000 Received: from vc2.ecl.ntt.co.jp (vc2.ecl.ntt.co.jp [129.60.86.154]) by tama500.ecl.ntt.co.jp (8.13.8/8.13.8) with ESMTP id v1S53MGj023804; Tue, 28 Feb 2017 14:03:22 +0900 Received: from vc2.ecl.ntt.co.jp (localhost [127.0.0.1]) by vc2.ecl.ntt.co.jp (Postfix) with ESMTP id 2CA895F63F; Tue, 28 Feb 2017 14:03:22 +0900 (JST) Received: from jcms-pop21.ecl.ntt.co.jp (jcms-pop21.ecl.ntt.co.jp [129.60.87.134]) by vc2.ecl.ntt.co.jp (Postfix) with ESMTP id 201585F592; Tue, 28 Feb 2017 14:03:22 +0900 (JST) Received: from [127.0.0.1] (unknown [129.60.241.61]) by jcms-pop21.ecl.ntt.co.jp (Postfix) with ESMTP id 15ACC400BF5; Tue, 28 Feb 2017 14:03:22 +0900 (JST) Subject: Re: Partitioned tables and relfilenode References: <2b0d42f2-3a53-763b-c9c2-47139e4b1c2e@lab.ntt.co.jp> <38d14945-b84c-0769-da36-b1f67c65395d@lab.ntt.co.jp> <9be09bd2-6cda-f68a-5992-8e8e53a56f51@lab.ntt.co.jp> From: Amit Langote Message-ID: <098044f4-24ef-e7db-a0fc-47f1d2014232@lab.ntt.co.jp> Date: Tue, 28 Feb 2017 14:03:12 +0900 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit To: Ashutosh Bapat , Robert Haas Cc: Simon Riggs , Pg Hackers X-TM-AS-MML: disable X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On 2017/02/28 13:52, Ashutosh Bapat wrote: > Amit's original patch had an assertion failure in > extract_autovac_opts(). His patch adds partitioned tables in the list > of tables to be auto-analyzed. But there's an assertion in > extract_autovac_opts(), which did not consider partitioned tables. > When a partitioned table is created, the assertion trips in autovacuum > worker and resets the cluster, restarting all the backends. I have > updated Robert's patch with the assertion fixed. Since Robert's patch backed out all autovacuum.c changes, partitioned tables case would no longer be able to reach that Assert. Thanks, Amit -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers