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

Поиск
Список
Период
Сортировка
От Andres Freund
Тема pgsql: Verify that expected slot types match returned slot types.
Дата
Msg-id E1gNXBn-0002LW-2l@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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(+)


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

Предыдущее
От: Andres Freund
Дата:
Сообщение: pgsql: Rejigger materializing and fetching a HeapTuple from a slot.
Следующее
От: Andres Freund
Дата:
Сообщение: pgsql: Add dummy field to currently empty struct TupleTableSlotOps.