Thread: pgsql: Add helper functions to simplify heapgettup code

pgsql: Add helper functions to simplify heapgettup code

From
David Rowley
Date:
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8ca6d49f634124e2f77f5c02af244c4ca4a3b1e9

Modified Files
--------------
src/backend/access/heap/heapam.c | 118 +++++++++++++++++++++++++++------------
1 file changed, 83 insertions(+), 35 deletions(-)