Quick adaption of JIT tuple deforming to the fast default patch.
Andres Freund <andres@anarazel.de>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/common/heaptuple.c | modified | +6 −2 |
| src/backend/jit/llvm/llvmjit.c | modified | +2 −0 |
| src/backend/jit/llvm/llvmjit_deform.c | modified | +30 −55 |
| src/backend/jit/llvm/llvmjit_types.c | modified | +1 −0 |
| src/include/executor/tuptable.h | modified | +1 −0 |
| src/include/jit/llvmjit.h | modified | +1 −0 |
Discussion
Cited messages not in the archive:
20180328010053.i2qvsuuusst4lgmc@alap3.anarazel.de