pgsql: Add assert to WALReadFromBuffers().

From: Jeff Davis <jdavis(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add assert to WALReadFromBuffers().
Date: 2024-02-16 18:48:06
Message-ID: E1rb3Fm-006ZmI-M9@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add assert to WALReadFromBuffers().

Per suggestion from Andres.

Discussion: https://postgr.es/m/20240214025508.6mcblauossthvaw3@awork3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/9ecbf54075a91ed155cc779fcc1870de0fff5fef

Modified Files
--------------
src/backend/access/transam/xlog.c | 24 ++++++------------------
1 file changed, 6 insertions(+), 18 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Jeff Davis 2024-02-16 19:20:47 pgsql: Pass correct count to WALRead().
Previous Message Nathan Bossart 2024-02-16 17:39:50 pgsql: Replace calls to pg_qsort() with the qsort() macro.