Re: BUG #18722: Processing arrays with plpgsql raises errors

Поиск
Список
Период
Сортировка
От Dean Rasheed
Тема Re: BUG #18722: Processing arrays with plpgsql raises errors
Дата
Msg-id CAEZATCWKt=XKP12qZhqBX4JaVSatmFwYFnoGYEDDqCbpe-HrEA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: BUG #18722: Processing arrays with plpgsql raises errors  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: BUG #18722: Processing arrays with plpgsql raises errors
Список pgsql-bugs
On Sun, 24 Nov 2024 at 22:49, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> Here's a fleshed-out patch with a test case and JIT support.  This
> is about the first time I've messed with LLVM, so I wouldn't mind
> some review of what I did in llvmjit_expr.c.  In particular, do I
> correctly understand that "l_funcvalue(b, v_fcinfo, 0)" produces
> a reference to a copy of the initial value of args[0].value?
>

I don't know about that, but I wonder if this bug could be fixed by
having ExecInitExprRec() insert a EEOP_MAKE_READONLY step. Then it
wouldn't be necessary to make any changes to the expression evaluation
code.

Regards,
Dean



В списке pgsql-bugs по дате отправления: