On Fri, Jul 31, 2026 at 11:15:08AM -0700, David K wrote:
> Thanks. That seems fine to me so is there anything else I need to do on my
> end?
- 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.
--
Michael