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

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Verify that expected slot types match returned slot types.
Date: 2018-11-16 06:01:11
Message-ID: E1gNXBn-0002LW-2l@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2018-11-16 06:31:32 pgsql: Add dummy field to currently empty struct TupleTableSlotOps.
Previous Message Michael Paquier 2018-11-15 22:43:04 Re: pgsql: Add flag values in WAL description to all heap records