summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorMichael Paquier2026-09-05 00:12:40 +0000
committerMichael Paquier2026-09-05 00:12:40 +0000
commit798bdcae89debabc59fa8afc6d690fec584db32f (patch)
treead1e723d4a517f0470977ee30240f5363469ac4b /contrib
parent74c77052bc20017076100f0649ca0f44b1b98c29 (diff)
Fix incorrect error message in xlogreader.cHEADmaster
When neither BKPIMAGE_HAS_HOLE nor BKPIMAGE_COMPRESSED is set, DecodeXLogRecord() checks that bimg_len needs to be equal to BLCKSZ. However, the associated error message reported the data length associated to a block (DecodedBkpBlock.data_len), and not the length of the block (DecodedBkpBlock.bimg_len). Oversight in 57aa5b2bb11a, probably due to some copy-paste from the surroundings. Author: Ayush Tiwari <ayushtiwari.slg01@gmail.com> Discussion: https://postgr.es/m/CAJTYsWVz9ymE7aMt2ZiQvs1bxNvhjfTf+XaJEsdFw7MT5dvtYQ@mail.gmail.com Backpatch-through: 14
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions