IIUC even when we adopt only one algorithm, additional at least one bit is necessary to see whether this backup block is compressed or not. This flag is necessary only for backup block, so there is no need to use the header of each WAL record. What about just using the backup block header?
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных