Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lm6bh-0000rt-AH for pgsql-bugs@arkaria.postgresql.org; Thu, 27 May 2021 03:22:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lm6bg-0005pg-6P for pgsql-bugs@arkaria.postgresql.org; Thu, 27 May 2021 03:22:48 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lm6bg-0005pY-05 for pgsql-bugs@lists.postgresql.org; Thu, 27 May 2021 03:22:48 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lm6be-0005xe-5A for pgsql-bugs@lists.postgresql.org; Thu, 27 May 2021 03:22:47 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 14R3MgvM1684884; Wed, 26 May 2021 23:22:42 -0400 From: Tom Lane To: RekGRpth cc: Alvaro Herrera , PostgreSQL mailing lists Subject: Re: BUG #17035: assert after commit In-reply-to: References: <20210526174017.GA11909@alvherre.pgsql> <1549812.1622051273@sss.pgh.pa.us> Comments: In-reply-to RekGRpth message dated "Thu, 27 May 2021 08:00:59 +0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1684882.1622085762.1@sss.pgh.pa.us> Date: Wed, 26 May 2021 23:22:42 -0400 Message-ID: <1684883.1622085762@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk RekGRpth writes: > Ok, I see. But I use SPI_execute_plan in background worker and no > ActivePortal there Well, you need to provide a snapshot. replication/worker.c might serve as an example. regards, tom lane