pgsql: Revert online data checksum transitions - #405
pg-hub-mirror[bot] wants to merge 1 commit into
Conversation
Commit c05d5ce removed the code that set and read the data_checksum_version member of xl_checkpoint_redo, but not the member itself, so every XLOG_CHECKPOINT_REDO record still carried four bytes that are never assigned. Remove it; the record data is back to the four bytes it had before f19c0ec. Also restore the descriptions of checksum_failures and checksum_last_failure, which are NULL again when data checksums are disabled, and remove the checksum_enable_offline() and checksum_disable_offline() test helpers, which have no callers left. Reported-by: Fujii Masao <masao.fujii@gmail.com>
|
Earlier design discussion: Discussion #366 |
|
Daniel Gustafsson <daniel(at)yesql(dot)se> via pgsql-hackers · original email
|
|
Daniel Gustafsson <daniel(at)yesql(dot)se> via pgsql-hackers · original email
|
pgsql-hackersCA+bCEdA4QxMc2KYqfuEZofPBYjx_wHLthfk4iDFVRCn+hoF1mg@mail.gmail.comPatch files:
Fujii Masao <masao(dot)fujii(at)gmail(dot)com> wrote: