Change TupleTableSlot->tts_nvalid to type AttrNumber.
Andres Freund <andres@anarazel.de>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/jit/llvm/llvmjit_deform.c | modified | +2 −2 |
| src/backend/jit/llvm/llvmjit_expr.c | modified | +1 −1 |
| src/include/executor/tuptable.h | modified | +1 −1 |
Discussion
- TupleTableSlot abstraction 50 messages · 2018-02-20 → 2019-02-27