From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Remove nearly-unused SizeOfIptrData macro. |
Date: | 2016-09-22 18:30:39 |
Message-ID: | E1bn8lb-00015q-5K@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Remove nearly-unused SizeOfIptrData macro.
Past refactorings have removed all but one reference to SizeOfIptrData
(and that one place was in a pretty noncritical spot). Since nobody's
complained, it seems probable that there are no supported compilers
that don't think sizeof(ItemPointerData) is 6. If there are, we're
wasting MAXALIGN per heap tuple anyway, so it's rather silly to worry
about whether we can shave space in places like WAL records.
Pavan Deolasee
Discussion: <CABOikdOOawDda4hwLOT6zdA6MFfPLu3Z2YBZkX0JdayNS6JOeQ(at)mail(dot)gmail(dot)com>
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/8023b5827fbada6815ce269db4f3373ac77ec7c3
Modified Files
--------------
src/backend/executor/nodeTidscan.c | 2 +-
src/include/storage/itemptr.h | 8 ++------
2 files changed, 3 insertions(+), 7 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2016-09-22 21:35:09 | pgsql: C comment: fix function header comment |
Previous Message | Andrew Borodin | 2016-09-22 18:27:01 | Re: pgsql: Invent PageIndexTupleOverwrite, and teach BRIN and GiST to use i |