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 1lZD8c-0002dp-Cu for pgsql-bugs@arkaria.postgresql.org; Wed, 21 Apr 2021 13:43:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lZD8b-0004Ld-CB for pgsql-bugs@arkaria.postgresql.org; Wed, 21 Apr 2021 13:43:29 +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 1lZD5Y-0001M3-Lf for pgsql-bugs@lists.postgresql.org; Wed, 21 Apr 2021 13:40:20 +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 1lZD5T-00010s-J3; Wed, 21 Apr 2021 13:40:19 +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 13LDeEkN756274; Wed, 21 Apr 2021 09:40:14 -0400 From: Tom Lane To: herwig.goemans@gmail.com, pgsql-bugs@lists.postgresql.org, PG Bug reporting form Subject: Re: BUG #16976: server crash when deleting via a trigger on a foreign table In-reply-to: <16976-abe0cb88252bc02e@postgresql.org> References: <16976-abe0cb88252bc02e@postgresql.org> Comments: In-reply-to PG Bug reporting form message dated "Wed, 21 Apr 2021 12:39:30 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <756272.1619012414.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Wed, 21 Apr 2021 09:40:14 -0400 Message-ID: <756273.1619012414@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > I have experienced a server crash when deleting from a table that ahs a > before trigger on it. The before trigger calls a function that deletes f= rom > a foreign (informix) table. Hm, can you get a stack trace from that? https://wiki.postgresql.org/wiki/Generating_a_stack_trace_of_a_PostgreSQL_= backend It seems fairly likely that the bug is in whatever FDW you're using rather than in core Postgres. A stack trace would help to confirm or refute that. regards, tom lane