pgsql: Add helper functions to simplify heapgettup code

From: David Rowley <drowley(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add helper functions to simplify heapgettup code
Date: 2023-02-02 23:39:40
Message-ID: E1pNjB5-001IOZ-4i@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Dean Rasheed 2023-02-03 00:05:23 Re: pgsql: Ensure that numeric.c compiles with other NBASE values.
Previous Message David Rowley 2023-02-02 22:49:01 pgsql: Further refactor of heapgettup and heapgettup_pagemode