Change TupleTableSlot->tts_nvalid to type AttrNumber.
Previously it was an int / 4 bytes. The maximum number of attributes
in a tuple is restricted by the maximum value Var->varattno, which is
an AttrNumber/int16. Hence use the same data type for
TupleTableSlot->tts_nvalid.
Author: Ashutosh Bapat
Discussion: https://postgr.es/m/20180220224318.gw4oe5jadhpmcdnm@alap3.anarazel.de
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/a598708ffa8eb72a22eeee4e6f30bc26e4984acd
Modified Files
--------------
src/backend/jit/llvm/llvmjit_deform.c | 4 ++--
src/backend/jit/llvm/llvmjit_expr.c | 2 +-
src/include/executor/tuptable.h | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)