pgsql: More refactoring of heapgettup() and heapgettup_pagemode() - Mailing list pgsql-committers

From David Rowley
Subject pgsql: More refactoring of heapgettup() and heapgettup_pagemode()
Date
Msg-id E1pPFX0-001ysh-Nc@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Include values of A_Const nodes in query jumbling
Next
From: Amit Kapila
Date:
Subject: pgsql: Use appropriate wait event when sending data in the apply worker