Correct assertion and comments about XLogRecordMaxSize.
Noah Misch <noah@leadboat.com>
Correct assertion and comments about XLogRecordMaxSize. The largest allocation, of xl_tot_len+8192, is in allocate_recordbuf(). Discussion: https://postgr.es/m/20230812211327.GB2326466@rfd.leadboat.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/transam/xloginsert.c | modified | +5 −4 |
| src/include/access/xlogrecord.h | modified | +2 −2 |
Discussion
- BUG #17928: Standby fails to decode WAL on termination of primary 86 messages · 2023-05-11 → 2023-09-26