]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix description of WAL record blocks in hash_xlog.h
authorMichael Paquier <michael@paquier.xyz>
Thu, 11 Sep 2025 08:17:30 +0000 (17:17 +0900)
committerMichael Paquier <michael@paquier.xyz>
Thu, 11 Sep 2025 08:17:30 +0000 (17:17 +0900)
commitcbe37dbf6cde9df0d8e8b3fda3190ebfde979b83
treede96cfc63a1293c0391cbaaa5c14edb07744d59c
parent5ac973892b099d9f9bcb3c1763f5dc8f13af28e0
Fix description of WAL record blocks in hash_xlog.h

hash_xlog.h included descriptions for the blocks used in WAL records
that were was not completely consistent with how the records are
generated, with one block missing for SQUEEZE_PAGE, and inconsistent
descriptions used for block 0 in VACUUM_ONE_PAGE and MOVE_PAGE_CONTENTS.

This information was incorrect since c11453ce0aea, cross-checking the
logic for the record generation.

Author: Kirill Reshke <reshkekirill@gmail.com>
Reviewed-by: Andrey Borodin <x4mmm@yandex-team.ru>
Discussion: https://postgr.es/m/CALdSSPj1j=a1d1hVA3oabRFz0hSU3KKrYtZPijw4UPUM7LY9zw@mail.gmail.com
Backpatch-through: 13
src/include/access/hash_xlog.h