]> granicus.if.org Git - postgresql/commit
Remove redundant IndexTupleDSize macro.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 1 Mar 2018 00:25:54 +0000 (19:25 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 1 Mar 2018 00:25:54 +0000 (19:25 -0500)
commitd79e7e92bf2a44415e1dcbd74274eb79852fc885
tree19d76d46e6e61dbad53fd5ae0bd787debac372a7
parentd3b851e9a3c9f994e78ba9ec4e11e4eae0c72ec7
Remove redundant IndexTupleDSize macro.

Use IndexTupleSize everywhere, instead.  Also, remove IndexTupleSize's
internal typecast, as that's not really needed and might mask coding
errors.  Change some pointer variable datatypes in the call sites
to compensate for that and make it clearer what we're assuming.

Ildar Musin, Robert Haas, Stephen Frost

Discussion: https://postgr.es/m/0274288e-9e88-13b6-c61c-7b36928bf221@postgrespro.ru
src/backend/access/hash/hash_xlog.c
src/backend/access/hash/hashinsert.c
src/backend/access/hash/hashovfl.c
src/backend/access/hash/hashpage.c
src/backend/access/heap/hio.c
src/backend/access/nbtree/nbtinsert.c
src/backend/access/nbtree/nbtsort.c
src/backend/access/nbtree/nbtxlog.c
src/include/access/itup.h