]> granicus.if.org Git - postgresql/commit
Don't generate tuple deforming functions for virtual slots.
authorAndres Freund <andres@anarazel.de>
Fri, 16 Nov 2018 06:00:30 +0000 (22:00 -0800)
committerAndres Freund <andres@anarazel.de>
Fri, 16 Nov 2018 06:00:30 +0000 (22:00 -0800)
commit7ef04e4d2cb287e4e28b87f24b4b36ef4e07530b
treee878bcae3a3007b491525796a45f26b9b6655938
parent15d8f83128e15de97de61430d0b9569f5ebecc26
Don't generate tuple deforming functions for virtual slots.

Virtual tuple table slots never need tuple deforming. Therefore, if we
know at expression compilation time, that a certain slot will always
be virtual, there's no need to create a tuple deforming routine for
it.

Author: Andres Freund
Discussion: https://postgr.es/m/20181105210039.hh4vvi4vwoq5ba2q@alap3.anarazel.de
src/backend/jit/llvm/llvmjit_deform.c
src/backend/jit/llvm/llvmjit_expr.c
src/include/jit/llvmjit.h