]> granicus.if.org Git - postgresql/commit
Verify that expected slot types match returned slot types.
authorAndres Freund <andres@anarazel.de>
Fri, 16 Nov 2018 06:00:30 +0000 (22:00 -0800)
committerAndres Freund <andres@anarazel.de>
Fri, 16 Nov 2018 06:00:30 +0000 (22:00 -0800)
commit15d8f83128e15de97de61430d0b9569f5ebecc26
treeec54d9c148390ca2aff3c1dc2f047c4c97a95295
parent675af5c01e297262cd20d7416f7e568393c22c6e
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
src/backend/executor/execExprInterp.c