pgsql: Rename and relocate freeze plan dedup routines.

From: Peter Geoghegan <pg(at)bowt(dot)ie>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Rename and relocate freeze plan dedup routines.
Date: 2023-01-12 01:31:54
Message-ID: E1pFmRd-003D1e-Pd@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)bowt(dot)ie>
Reported-By: Andres Freund <andres(at)anarazel(dot)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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Geoghegan 2023-01-12 01:59:24 pgsql: vacuumlazy.c: Tweak local variable name.
Previous Message David G. Johnston 2023-01-12 00:52:46 Re: pgsql: Add new GUC createrole_self_grant.