pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Verify that expected slot types match returned slot types.
Date: Fri, 16 Nov 2018 06:01:11 +0000
Message-ID: <E1gNXBn-0002LW-2l@gemulon.postgresql.org> (raw)

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(+)



Message-ID: <E1gNXBn-0002LW-2l@gemulon.postgresql.org>
Permalink:  ../E1gNXBn-0002LW-2l@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1gNXBn-0002LW-2l@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: andres@anarazel.de
  Subject: Re: pgsql: Verify that expected slot types match returned slot types.
  In-Reply-To: <E1gNXBn-0002LW-2l@gemulon.postgresql.org>
  References: <E1gNXBn-0002LW-2l@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox