pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Change TupleTableSlot->tts_nvalid to type AttrNumber.
Date: Tue, 25 Sep 2018 23:00:43 +0000
Message-ID: <E1g4wJv-0000h9-Pa@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1g4wJv-0000h9-Pa@gemulon.postgresql.org>
Permalink:  ../E1g4wJv-0000h9-Pa@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1g4wJv-0000h9-Pa@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: andres@anarazel.de
  Subject: Re: pgsql: Change TupleTableSlot->tts_nvalid to type AttrNumber.
  In-Reply-To: <E1g4wJv-0000h9-Pa@gemulon.postgresql.org>
  References: <E1g4wJv-0000h9-Pa@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox