Re: BUG #17995: Segmentation fault caused by UPDATE statement - Mailing list pgsql-bugs

From Michael Paquier
Subject Re: BUG #17995: Segmentation fault caused by UPDATE statement
Date
Msg-id ZJkais2u82EUwD24@paquier.xyz
Whole thread Raw
In response to Re: BUG #17995: Segmentation fault caused by UPDATE statement  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
On Mon, Jun 26, 2023 at 12:27:08AM -0400, Tom Lane wrote:
> Michael Paquier <michael@paquier.xyz> writes:
>> Thanks for the pointer, I'll double-check that.  Some of the locations
>> of stack depth checks proposed involve performance-sensitive code
>> paths, though, like mcxt.c :/
>
> I hadn't looked at the patch yet, but ... mcxt.c?  How is that recursive?
> Even if there is some path that recurses through that, wouldn't the
> check be better placed in a less-hot part of the loop?

Yeah, that's my impression.  I'll switch to the other thread after
looking more in details.
--
Michael

Attachment

pgsql-bugs by date:

Previous
From: Amit Kapila
Date:
Subject: Re: BUG #17993: FK issue on logical replication table
Next
From: Alexander Lakhin
Date:
Subject: Re: BUG #17995: Segmentation fault caused by UPDATE statement