Correct assertion and comments about XLogRecordMaxSize.

The largest allocation, of xl_tot_len+8192, is in allocate_recordbuf().

Discussion: https://postgr.es/m/20230812211327.gb2326...@rfd.leadboat.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e1f95ec8cf6ea75d90905b2c746e2e1e9f3c9fc1

Modified Files
--------------
src/backend/access/transam/xloginsert.c | 9 +++++----
src/include/access/xlogrecord.h         | 4 ++--
2 files changed, 7 insertions(+), 6 deletions(-)

Reply via email to