From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Quick adaption of JIT tuple deforming to the fast default patch.
Date: Wed, 28 Mar 2018 04:11:33 +0000
Message-ID: <E1f12Qv-0001UC-Aq@gemulon.postgresql.org> (raw)
Quick adaption of JIT tuple deforming to the fast default patch.
Instead using memset to set tts_isnull, call the new
slot_getmissingattrs().
Also fix a bug (= instead of >=) in the code generation. Normally = is
correct, but when repeatedly deforming fields not in a
tuple (e.g. deform up to natts + 1 and then natts + 2) >= is needed.
Discussion: https://postgr.es/m/20180328010053.i2qvsuuusst4lgmc@alap3.anarazel.de
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/f4f5845b3182ab930e525b1419bca47ac611604e
Modified Files
--------------
src/backend/access/common/heaptuple.c | 8 +++-
src/backend/jit/llvm/llvmjit.c | 2 +
src/backend/jit/llvm/llvmjit_deform.c | 85 +++++++++++++----------------------
src/backend/jit/llvm/llvmjit_types.c | 1 +
src/include/executor/tuptable.h | 1 +
src/include/jit/llvmjit.h | 1 +
6 files changed, 41 insertions(+), 57 deletions(-)
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: Quick adaption of JIT tuple deforming to the fast default patch.
In-Reply-To: <E1f12Qv-0001UC-Aq@gemulon.postgresql.org>
References: <E1f12Qv-0001UC-Aq@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