Re: BUG #19906: Backend crash (signal 11) creating a LANGUAGE sql function that returns a composite type from a sub-

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Ayush Tiwari <ayushtiwari(dot)slg01(at)gmail(dot)com>
Cc: Борис Мурашов <murasovb(at)gmail(dot)com>, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #19906: Backend crash (signal 11) creating a LANGUAGE sql function that returns a composite type from a sub-
Date: 2026-11-17 16:34:18
Message-ID: 457447.1794933258@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Ayush Tiwari <ayushtiwari(dot)slg01(at)gmail(dot)com> writes:
> Post your last mail, I was auditing the places that need these comment
> updates, and the difference between that list and your patch is:
> 1) make_fn_arguments() in parse_func.c still has the old comment, and
> clauses.c calls it with NULL.
> 2) make_row_comparison_op() in parse_expr.c has it too, but it
> dereferences pstate anyway, so that line can just go?

Good catches. Incorporated in less-drafty v2.

regards, tom lane

Attachment Content-Type Size
v2-0001-Don-t-crash-on-null-pstate-in-coerce_record_to_co.patch text/x-diff 9.2 KB

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Ayush Tiwari 2026-11-17 16:59:29 Re: BUG #19906: Backend crash (signal 11) creating a LANGUAGE sql function that returns a composite type from a sub-
Previous Message Tom Lane 2026-11-17 15:41:01 Re: BUG #19910: json(b)_to_tsvector() nested array filter gives internal error XX000 "unexpected end of flag array"