pgsql: Correct assertion and comments about XLogRecordMaxSize.

From: Noah Misch <noah(at)leadboat(dot)com>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Correct assertion and comments about XLogRecordMaxSize.
Date: 2023-10-01 19:21:16
Message-ID: E1qn20C-0071Yf-CH@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2023-10-02 02:06:58 pgsql: psql: Set variables from query result on failure when printing t
Previous Message Tom Lane 2023-10-01 17:19:54 pgsql: Fix datalen calculation in tsvectorrecv().