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 1jKNUc-0002Yw-UC for pgsql-bugs@arkaria.postgresql.org; Fri, 03 Apr 2020 14:40:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jKNUb-0007fx-Op for pgsql-bugs@arkaria.postgresql.org; Fri, 03 Apr 2020 14:40:21 +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 1jKNUb-0007fp-IQ for pgsql-bugs@lists.postgresql.org; Fri, 03 Apr 2020 14:40:21 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jKNUV-0003hv-1v for pgsql-bugs@lists.postgresql.org; Fri, 03 Apr 2020 14:40:20 +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 033EeDte024272; Fri, 3 Apr 2020 10:40:13 -0400 From: Tom Lane To: william.crowell@openlogic.com cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #16340: lo_manage() crashs DB instance In-reply-to: <16340-591c7449dc7c8c47@postgresql.org> References: <16340-591c7449dc7c8c47@postgresql.org> Comments: In-reply-to PG Bug reporting form message dated "Fri, 03 Apr 2020 13:46:15 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <24270.1585924813.1@sss.pgh.pa.us> Date: Fri, 03 Apr 2020 10:40:13 -0400 Message-ID: <24271.1585924813@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk PG Bug reporting form writes: > PostgreSQL crashes if you do the following: > $psql postgres -c 'create extension lo' > CREATE EXTENSION > $psql postgres -c 'select lo_manage()' > server closed the connection unexpectedly Huh, somebody was a bit too cute here: if (!CALLED_AS_TRIGGER(fcinfo)) /* internal error */ elog(ERROR, "%s: not fired by trigger manager", trigdata->tg_trigger->tgname); Will fix, thanks for the report! regards, tom lane