More refactoring of heapgettup() and heapgettup_pagemode()
authorDavid Rowley <drowley@postgresql.org>
Tue, 7 Feb 2023 04:24:07 +0000 (17:24 +1300)
committerDavid Rowley <drowley@postgresql.org>
Tue, 7 Feb 2023 04:24:07 +0000 (17:24 +1300)
commitcfcf56f92398c2827fcca9406e7c7ea6caab83c2
tree81c5cb9d9900a16760d7a7d1bb64e06b683f36ed
parent9ba37b2cb6a174b37fc51d0649ef73e56eae27fc
More refactoring of heapgettup() and heapgettup_pagemode()

Here we further simplify the code in heapgettup() and
heapgettup_pagemode() to make better use of the helper functions added in
the previous recent refactors in this area.

In passing, remove an unneeded cast added in 8ca6d49f6.

Author: Melanie Plageman
Reviewed-by: Andres Freund, David Rowley
Discussion: https://postgr.es/m/CAAKRu_YSOnhKsDyFcqJsKtBSrd32DP-jjXmv7hL0BPD-z0TGXQ@mail.gmail.com
src/backend/access/heap/heapam.c