Обсуждение: pgsql: Verify that expected slot types match returned slot types.

Поиск
Список
Период
Сортировка

pgsql: Verify that expected slot types match returned slot types.

От
Andres Freund
Дата:
Verify that expected slot types match returned slot types.

This is important so JIT compilation knows what kind of tuple slot the
deforming routine can expect. There's also optimization potential for
expression initialization without JIT compilation. It e.g. seems
plausible to elide EEOP_*_FETCHSOME ops entirely when dealing with
virtual slots.

Author: Andres Freund
Discussion: https://postgr.es/m/20181105210039.hh4vvi4vwoq5ba2q@alap3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/15d8f83128e15de97de61430d0b9569f5ebecc26

Modified Files
--------------
src/backend/executor/execExprInterp.c | 52 +++++++++++++++++++++++++++++++++++
1 file changed, 52 insertions(+)