More refactoring of heapgettup() and heapgettup_pagemode()

David Rowley <drowley@postgresql.org>

Commit: cfcf56f92398c2827fcca9406e7c7ea6caab83c2
Author: David Rowley <drowley@postgresql.org>
Date: 2023-02-07T04:24:07Z
Releases: 16.0
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

Files

PathChange+/−
src/backend/access/heap/heapam.c modified +78 −169

Discussion