Rename and relocate freeze plan dedup routines.
authorPeter Geoghegan <pg@bowt.ie>
Thu, 12 Jan 2023 01:30:42 +0000 (17:30 -0800)
committerPeter Geoghegan <pg@bowt.ie>
Thu, 12 Jan 2023 01:30:42 +0000 (17:30 -0800)
commit50767705ed093eb4cf64f5980b3ffdfa2fc8ebc8
treefc86f4dd02c61390d81617d4ae4bec50cd44ec50
parent1b4d280ea1eb7ddb2e16654d5fa16960bb959566
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
src/backend/access/heap/heapam.c