Skip to content

Commit b7493e1

Browse files
Remove leftover mentions of XLOG_HEAP2_FREEZE_PAGE records
f83d709 merged the separate XLOG_HEAP2_FREEZE_PAGE records into a new combined prune, freeze, and vacuum record with opcode XLOG_HEAP2_PRUNE_VACUUM_SCAN. Remove the last few references to XLOG_HEAP2_FREEZE_PAGE records which were accidentally left behind. Reported-by: Tomas Vondra Reviewed-by: Robert Haas Discussion: https://postgr.es/m/CA%2BTgmoY1tYff-1CEn8kYt5FsOrynTbtr%3DUZw%3D7mTC1Hv1HpeBQ%40mail.gmail.com
1 parent 1a0da34 commit b7493e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/access/heap/pruneheap.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1906,7 +1906,7 @@ heap_log_freeze_eq(xlhp_freeze_plan *plan, HeapTupleFreeze *frz)
19061906
}
19071907

19081908
/*
1909-
* Comparator used to deduplicate XLOG_HEAP2_FREEZE_PAGE freeze plans
1909+
* Comparator used to deduplicate the freeze plans used in WAL records.
19101910
*/
19111911
static int
19121912
heap_log_freeze_cmp(const void *arg1, const void *arg2)
@@ -1966,7 +1966,7 @@ heap_log_freeze_new_plan(xlhp_freeze_plan *plan, HeapTupleFreeze *frz)
19661966

19671967
/*
19681968
* Deduplicate tuple-based freeze plans so that each distinct set of
1969-
* processing steps is only stored once in XLOG_HEAP2_FREEZE_PAGE records.
1969+
* processing steps is only stored once in the WAL record.
19701970
* Called during original execution of freezing (for logged relations).
19711971
*
19721972
* Return value is number of plans set in *plans_out for caller. Also writes

0 commit comments

Comments
 (0)