Add helper functions to simplify heapgettup code

David Rowley <drowley@postgresql.org>

Commit: 8ca6d49f634124e2f77f5c02af244c4ca4a3b1e9
Author: David Rowley <drowley@postgresql.org>
Date: 2023-02-02T23:38:42Z
Releases: 16.0
Add helper functions to simplify heapgettup code

Here we add heapgettup_start_page() and heapgettup_continue_page() to
simplify the code in the heapgettup() function.

Author: Melanie Plageman
Reviewed-by: David Rowley
Discussion: https://postgr.es/m/CAAKRu_bvkhka0CZQun28KTqhuUh5ZqY=_T8QEqZqOL02rpi2bw@mail.gmail.com

Files

PathChange+/−
src/backend/access/heap/heapam.c modified +83 −35

Discussion