pgsql: More refactoring of heapgettup() and heapgettup_pagemode()

From: David Rowley <drowley(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: More refactoring of heapgettup() and heapgettup_pagemode()
Date: 2023-02-07 04:24:36
Message-ID: E1pPFX0-001ysh-Nc@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/cfcf56f92398c2827fcca9406e7c7ea6caab83c2

Modified Files
--------------
src/backend/access/heap/heapam.c | 247 +++++++++++++--------------------------
1 file changed, 78 insertions(+), 169 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Amit Kapila 2023-02-07 04:40:15 pgsql: Use appropriate wait event when sending data in the apply worker
Previous Message Michael Paquier 2023-02-07 00:05:24 pgsql: Include values of A_Const nodes in query jumbling