From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> |
Cc: | luy70(at)psu(dot)edu, pgsql-bugs(at)lists(dot)postgresql(dot)org |
Subject: | Re: BUG #18877: PostgreSQL triggers assertion failure |
Date: | 2025-04-05 15:12:59 |
Message-ID: | 2461845.1743865979@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> writes:
> On 2025-Apr-05, Tom Lane wrote:
>> So what we should be doing is building a parse-analysis result
>> that deparses into something that looks like the input; probably,
>> a JsonArrayQueryConstructor node with an analyzed EXPR_SUBLINK
>> SubLink below it. Then we can make this tlist-length check against
>> the analyzed SubLink, removing the problem of premature errors that
>> are not spelled the way we want.
> Sounds reasonable, I can try to find better coding for this, but it
> won't be soon. I won't be sad if somebody else wants to do it, so if
> you feel like it, please be my guest.
Yeah, it's not high priority for me either. Maybe someone else
will be interested in the project.
>> Anyway, that idea is far too invasive to be back-patchable,
>> and IMO it's too late to consider even getting it into v18.
>> So what I'm thinking is we should just apply the copyObject
>> hack for now, and resolve to reconsider this code later.
> Sounds reasonable.
OK, I'll get that done.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2025-04-05 19:07:28 | Re: BUG #18878: PostgreSQL triggers Assertion Failure in Debug build |
Previous Message | Alvaro Herrera | 2025-04-05 15:00:44 | Re: BUG #18877: PostgreSQL triggers assertion failure |