On Sun, Aug 02, 2026 at 04:08:17PM +0900, Michael Paquier wrote: > - newSize += XLOG_BLCKSZ - (newSize % XLOG_BLCKSZ); > + Assert(reclength <= INT32_MAX - BLCKSZ); > + > + newSize = TYPEALIGN(XLOG_BLCKSZ, reclength); > > Am I reading a typo here or the INT32_MAX is missing a 'PG_U'? > XLogRecordMaxSize cannot reach that, just wondering about a > consistency argument with the surrounding type declarations for these > length variables.
Another thing to note: this basically breaks the recovery test 039_end_of_wal.pl. Could you look at that please? -- Michael
signature.asc
Description: PGP signature
