Re: Eliminating SPI / SQL from some RI triggers - take 3 - Mailing list pgsql-hackers

From Sandro Santilli
Subject Re: Eliminating SPI / SQL from some RI triggers - take 3
Date
Msg-id adeIhgpWq22E5kwW@hst.kbt.io
Whole thread Raw
In response to Re: Eliminating SPI / SQL from some RI triggers - take 3  (Tomas Vondra <tomas@vondra.me>)
Responses Re: Eliminating SPI / SQL from some RI triggers - take 3
List pgsql-hackers
On Mon, Mar 02, 2026 at 01:34:41PM +0100, Tomas Vondra wrote:
>
> TBH I haven't noticed the memory context issue myself, I only noticed
> because the builds with index prefetch started crashing.

We're getting a crash in PostGIS too, since that commit was merged into
the master branch, see https://trac.osgeo.org/postgis/ticket/6066

The crash is triggered a C function using SPI.

--strk;

Attachment

pgsql-hackers by date:

Previous
From: Jim Jones
Date:
Subject: Re: Additional message in pg_terminate_backend
Next
From: Bertrand Drouvot
Date:
Subject: Re: Reduce build times of pg_trgm GIN indexes