Re: PG 11 JIT deform failure

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PG 11 JIT deform failure
Дата
Msg-id 9352.1560448015@sss.pgh.pa.us
обсуждение исходный текст
Ответ на PG 11 JIT deform failure  (didier <did447@gmail.com>)
Ответы Re: PG 11 JIT deform failure  (didier <did447@gmail.com>)
Список pgsql-hackers
didier <did447@gmail.com> writes:
> JIT slot_compile_deform assumes there's at least  'natts' in TupleDesc, eg
>         /*
>          * Iterate over each attribute that needs to be deformed, build code to
>          * deform it.
>          */
>         for (attnum = 0; attnum < natts; attnum++)
>         {
>                 Form_pg_attribute att = TupleDescAttr(desc, attnum);

> but a new TupleDesc has no attribute and the caller only tests
> TupleDesc is not null.

I looked at this, but I find it quite unconvincing.  Under what
circumstances would we not have a correctly filled-in tupdesc here?

            regards, tom lane



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

Предыдущее
От: Tomas Vondra
Дата:
Сообщение: Re: Multivariate MCV stats can leak data to unprivileged users
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: upgrades in row-level locks can deadlock