Re: Segmentation fault on postgresql 13.4, 12.8 with function call in a cursor

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tomas Barton <barton(dot)tomas(at)gmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Segmentation fault on postgresql 13.4, 12.8 with function call in a cursor
Date: 2021-09-09 16:14:37
Message-ID: 3684713.1631204077@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Tomas Barton <barton(dot)tomas(at)gmail(dot)com> writes:
> a recent change in postgresql is causing a segfault when a function is
> called in filter section, e.g. with a plan like this:

Ugh, thanks. PersistHoldablePortal isn't being cautious about
re-executing a plan that already reached completion. Will fix.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message R. Schottland (Lowell) 2021-09-09 23:47:11 PG12 → PG13 database conversion anomaly: ERROR: function kepler_start_3(double precision, double precision) does not exist
Previous Message Sergei Kornilov 2021-09-09 16:08:05 Re: Segmentation fault on postgresql 13.4, 12.8 with function call in a cursor