Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cHXoI-0003Pe-Vy for pgsql-hackers@arkaria.postgresql.org; Thu, 15 Dec 2016 15:19:07 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cHXoI-0002Ok-JA for pgsql-hackers@arkaria.postgresql.org; Thu, 15 Dec 2016 15:19:06 +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 1cHXms-00083F-KP for pgsql-hackers@postgresql.org; Thu, 15 Dec 2016 15:17:38 +0000 Received: from 173-164-140-181-sfba.hfc.comcastbusiness.net ([173.164.140.181] helo=fetter.org) by magus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cHXml-0008RV-75 for pgsql-hackers@postgresql.org; Thu, 15 Dec 2016 15:17:38 +0000 Received: by fetter.org (Postfix, from userid 1000) id A3935E01C3; Thu, 15 Dec 2016 07:17:24 -0800 (PST) Date: Thu, 15 Dec 2016 07:17:24 -0800 From: David Fetter To: Amit Langote Cc: PostgreSQL Development Subject: Re: Transaction oddity with list partition of a list partition Message-ID: <20161215151724.GC20659@fetter.org> References: <20161215082324.GA20659@fetter.org> <20161215090916.GB20659@fetter.org> <500426e3-b71c-19fb-9eed-a1cfe5c71bdd@lab.ntt.co.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <500426e3-b71c-19fb-9eed-a1cfe5c71bdd@lab.ntt.co.jp> User-Agent: Mutt/1.7.1 (2016-10-04) X-Pg-Spam-Score: -0.9 (/) 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 Thu, Dec 15, 2016 at 06:20:04PM +0900, Amit Langote wrote: > > Hi David, > > On 2016/12/15 18:09, David Fetter wrote: > > Per Thomas Munro, could it be that the CREATE ... PARTITION OF ... > > code fails to run CacheInvalidateRelcache on its parent(s)? > > Thomas's right. There is a patch posted for this issue [1]; I'm > sending an updated version of the patch later today in reply to [1]. > Meanwhile, could you try and see if the problem is fixed with the > attached patch. That fixed both cases. Thanks! Best, David. -- David Fetter http://fetter.org/ Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter Skype: davidfetter XMPP: david(dot)fetter(at)gmail(dot)com Remember to vote! Consider donating to Postgres: http://www.postgresql.org/about/donate -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers