pgsql: Rename and relocate freeze plan dedup routines. - Mailing list pgsql-committers

From Peter Geoghegan
Subject pgsql: Rename and relocate freeze plan dedup routines.
Date
Msg-id E1pFmRd-003D1e-Pd@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Rename and relocate freeze plan dedup routines.

Rename the heapam.c freeze plan deduplication routines added by commit
9e540599 to names that follow conventions for functions in heapam.c.
Also relocate the functions so that they're next to their caller, which
runs during original execution, when FREEZE_PAGE WAL records are built.

The routines were initially placed next to (and followed the naming
conventions of) conceptually related REDO routine code, but that scheme
turned out to be kind of jarring when considered in a wider context.

Author: Peter Geoghegan <pg@bowt.ie>
Reported-By: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/20230109214308.icz26oqvt3k2274c@awork3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/50767705ed093eb4cf64f5980b3ffdfa2fc8ebc8

Modified Files
--------------
src/backend/access/heap/heapam.c | 296 +++++++++++++++++++--------------------
1 file changed, 147 insertions(+), 149 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Get rid of the "new" and "old" entries in a view's rangetable.
Next
From: Peter Geoghegan
Date:
Subject: pgsql: vacuumlazy.c: Tweak local variable name.