]> granicus.if.org Git - postgresql/commit
Remove nearly-unused SizeOfIptrData macro.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 22 Sep 2016 18:30:33 +0000 (14:30 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 22 Sep 2016 18:30:33 +0000 (14:30 -0400)
commit8023b5827fbada6815ce269db4f3373ac77ec7c3
tree23d92d4b750de0095e609ef8e75280a4c1536e66
parent96dd77d349424f270d129f8f40e75f762ddcca7d
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@mail.gmail.com>
src/backend/executor/nodeTidscan.c
src/include/storage/itemptr.h