diff options
author | Melanie Plageman <melanieplageman@gmail.com> | 2025-09-24 12:29:13 -0400 |
---|---|---|
committer | Melanie Plageman <melanieplageman@gmail.com> | 2025-09-24 12:29:56 -0400 |
commit | ae8ea7278c16a23aa7dfb56c531706c18628ba55 (patch) | |
tree | 75ae933ec6afa6653be4dcadc01961e1f9457187 | |
parent | aadbcc40bc24362070b5d88769b62f2d62fdedfb (diff) |
Correct prune WAL record opcode name in comment
f83d709760d8 incorrectly refers to a XLOG_HEAP2_PRUNE_FREEZE WAL record
opcode. No such code exists. The relevant opcodes are
XLOG_HEAP2_PRUNE_ON_ACCESS, XLOG_HEAP2_PRUNE_VACUUM_SCAN, and
XLOG_HEAP2_PRUNE_VACUUM_CLEANUP. Correct it.
Author: Melanie Plageman <melanieplageman@gmail.com>
Reviewed-by: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/yn4zp35kkdsjx6wf47zcfmxgexxt4h2og47pvnw2x5ifyrs3qc%407uw6jyyxuyf7
-rw-r--r-- | src/backend/access/heap/pruneheap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/access/heap/pruneheap.c b/src/backend/access/heap/pruneheap.c index 7ebd22f00a3..d8ea0c78f77 100644 --- a/src/backend/access/heap/pruneheap.c +++ b/src/backend/access/heap/pruneheap.c @@ -794,7 +794,7 @@ heap_page_prune_and_freeze(Relation relation, Buffer buffer, MarkBufferDirty(buffer); /* - * Emit a WAL XLOG_HEAP2_PRUNE_FREEZE record showing what we did + * Emit a WAL XLOG_HEAP2_PRUNE* record showing what we did */ if (RelationNeedsWAL(relation)) { @@ -2026,7 +2026,7 @@ heap_log_freeze_plan(HeapTupleFreeze *tuples, int ntuples, } /* - * Write an XLOG_HEAP2_PRUNE_FREEZE WAL record + * Write an XLOG_HEAP2_PRUNE* WAL record * * This is used for several different page maintenance operations: * |