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 1hXtj5-0000H7-TA for pgsql-bugs@arkaria.postgresql.org; Mon, 03 Jun 2019 20:38:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hXtj4-0006ey-Nx for pgsql-bugs@arkaria.postgresql.org; Mon, 03 Jun 2019 20:38:38 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1hXtj4-0006er-G9 for pgsql-bugs@lists.postgresql.org; Mon, 03 Jun 2019 20:38:38 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hXtj2-0002Xi-4o for pgsql-bugs@lists.postgresql.org; Mon, 03 Jun 2019 20:38:38 +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 x53KcUcr029017; Mon, 3 Jun 2019 16:38:30 -0400 From: Tom Lane To: Alexander Lakhin cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15828: Server crashes inside CloneRowTriggersToPartition In-reply-to: References: <15828-f6ddd7df4852f473@postgresql.org> Comments: In-reply-to Alexander Lakhin message dated "Fri, 31 May 2019 22:01:17 +0300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <29015.1559594310.1@sss.pgh.pa.us> Date: Mon, 03 Jun 2019 16:38:30 -0400 Message-ID: <29016.1559594310@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Alexander Lakhin writes: >> When running in parallel two queries (modified excerpts from >> src/test/regress/ join.sql and update.sql): > The patch to reproduce the crash on master is attached, Thanks for the test case. It's surprising though that we don't see this fail out-of-the-box. It's not okay to reset the context that a systable scan is using ... regards, tom lane