pgsql: Change TupleTableSlot->tts_nvalid to type AttrNumber.

Поиск
Список
Период
Сортировка
От Andres Freund
Тема pgsql: Change TupleTableSlot->tts_nvalid to type AttrNumber.
Дата
Msg-id E1g4wJv-0000h9-Pa@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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(-)


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: Remove obsolete comment
Следующее
От: Andres Freund
Дата:
Сообщение: pgsql: Remove function list from prologue of execTuples.c.