From: David Rowley <drowley@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Refactor heapam.c adding heapgettup_initial_block function
Date: Thu, 02 Feb 2023 01:19:26 +0000
Message-ID: <E1pNOG5-00193y-5V@gemulon.postgresql.org> (raw)
Refactor heapam.c adding heapgettup_initial_block function
Here we adjust heapgettup() and heapgettup_pagemode() to move the code
that fetches the first block number to scan out into a helper function.
This removes some code duplication.
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/fb1a59de0c52609653166aafc6ce8679a9cfe54b
Modified Files
--------------
src/backend/access/heap/heapam.c | 223 ++++++++++++++++++---------------------
1 file changed, 102 insertions(+), 121 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: drowley@postgresql.org
Subject: Re: pgsql: Refactor heapam.c adding heapgettup_initial_block function
In-Reply-To: <E1pNOG5-00193y-5V@gemulon.postgresql.org>
References: <E1pNOG5-00193y-5V@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox