pgsql: Quick adaption of JIT tuple deforming to the fast defaultpatch.

Поиск
Список
Период
Сортировка
От Andres Freund
Тема pgsql: Quick adaption of JIT tuple deforming to the fast defaultpatch.
Дата
Msg-id E1f12Qv-0001UC-Aq@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Fast ALTER TABLE ADD COLUMN with a non-NULL default
Следующее
От: Andres Freund
Дата:
Сообщение: Re: pgsql: Fast ALTER TABLE ADD COLUMN with a non-NULL default