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: Compute information about EEOP_*_FETCHSOME at expression init ti
Date: Fri, 16 Nov 2018 06:01:11 +0000
Message-ID: <E1gNXBn-0002LU-2Q@gemulon.postgresql.org> (raw)

Compute information about EEOP_*_FETCHSOME at expression init time.

Previously this information was computed when JIT compiling an
expression.  But the information is useful for assertions in the
non-JIT case too (for assertions), therefore it makes sense to move
it.

This will, in a followup commit, allow to treat different slot types
differently. E.g. for virtual slots there's no need to generate a JIT
function to deform the slot.

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/675af5c01e297262cd20d7416f7e568393c22c6e

Modified Files
--------------
src/backend/executor/execExpr.c     | 104 ++++++++++++++++++++++++++++++++++++
src/backend/jit/llvm/llvmjit_expr.c |  44 ++++++---------
src/include/executor/execExpr.h     |   5 ++
3 files changed, 124 insertions(+), 29 deletions(-)



Message-ID: <E1gNXBn-0002LU-2Q@gemulon.postgresql.org>
Permalink:  ../E1gNXBn-0002LU-2Q@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1gNXBn-0002LU-2Q@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: Compute information about EEOP_*_FETCHSOME at expression init ti
  In-Reply-To: <E1gNXBn-0002LU-2Q@gemulon.postgresql.org>
  References: <E1gNXBn-0002LU-2Q@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