Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g78vn-0007gy-H8 for pgsql-committers@arkaria.postgresql.org; Tue, 02 Oct 2018 00:52:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1g78vk-0000A7-Nx for pgsql-committers@arkaria.postgresql.org; Tue, 02 Oct 2018 00:52:52 +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.89) (envelope-from ) id 1g78vk-00009S-Ij for pgsql-committers@lists.postgresql.org; Tue, 02 Oct 2018 00:52:52 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g78ve-00069G-FK for pgsql-committers@lists.postgresql.org; Tue, 02 Oct 2018 00:52:52 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id w920qfe4006376; Mon, 1 Oct 2018 20:52:41 -0400 From: Tom Lane To: Amit Langote cc: pgsql-committers@lists.postgresql.org, David Rowley Subject: Re: pgsql: Add assertions that we hold some relevant lock during relation o In-reply-to: <1bd0f5d5-e1aa-e396-ab70-68798fb6b13a@lab.ntt.co.jp> References: <1bd0f5d5-e1aa-e396-ab70-68798fb6b13a@lab.ntt.co.jp> Comments: In-reply-to Amit Langote message dated "Tue, 02 Oct 2018 09:49:07 +0900" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <6374.1538441561.1@sss.pgh.pa.us> Date: Mon, 01 Oct 2018 20:52:41 -0400 Message-ID: <6375.1538441561@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Amit Langote writes: > On 2018/10/02 1:43, Tom Lane wrote: >> Add assertions that we hold some relevant lock during relation open. >> ... >> Amit Langote and Tom Lane > I'm sorry if it wasn't clear, but the lock manager code was added to the > original 0001 patch by David Rowley; see this message where he posted the > updated version of my patch containing the new code: Wups. My apologies to David for not researching the pieces of the patch more closely. regards, tom lane