From: | Andres Freund <andres(at)anarazel(dot)de> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Use platform independent type for TupleTableSlot->tts_off. |
Date: | 2018-02-21 01:50:52 |
Message-ID: | E1eoJYa-00026m-5c@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Use platform independent type for TupleTableSlot->tts_off.
Previously tts_off was, for unknown reasons, of type long. For one
that's unnecessary as tuples are restricted in length, for another
long would be a bad choice of type even if that weren't the case, as
it's not reliably wider than an int. Also HeapTupleHeader->t_len is a
uint32.
This is split off from a larger patch implementing JITed tuple
deforming. Seems like an independent improvement, as tiny as it is.
Author: Andres Freund
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/4c0ec9ee28279cc6a610cde8470fc8b606267b68
Modified Files
--------------
src/backend/access/common/heaptuple.c | 4 ++--
src/include/executor/tuptable.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Andres Freund | 2018-02-21 02:27:51 | pgsql: Blindly attempt to adapt sepgsql regression tests. |
Previous Message | Peter Eisentraut | 2018-02-20 22:58:44 | pgsql: Error message improvement |