pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Álvaro Herrera <alvherre@kurilemu.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Turn "check" into assertion
Date: Mon, 28 Sep 2026 15:43:00 +0000
Message-ID: <E1xBDVM-00000001cbf-0r5B@gemulon.postgresql.org> (raw)

Turn "check" into assertion

In commit 1813f951cad5, I mistakenly assumed that one particular
function named CheckSomething() checks Something.  It doesn't, it merely
return the state to check.  Fix by adding the necessary Assert() call.

Good chance to add trailers for commit 1813f951cad5:
Reviewed-by: Manuel Reyes Bravo <manuelreyesbravo@gmail.com>
Reviewed-by: Antonin Houska <ah@cybertec.at>
Reviewed-by: Masahiko Sawada <sawada.mshk@gmail.com>

Backpatch-through: 19
Discussion: https://postgr.es/m/CAA-aLv5MF6BLL+BWvix2Yw+CBardtH43AofPReQunhDZPNBtuA@mail.gmail.com

Branch
------
REL_19_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/2b1d52b19799b9b34c0b5d5e2c465a259791a645

Modified Files
--------------
src/backend/commands/repack.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)



view thread (2+ messages)

Message-ID: <E1xBDVM-00000001cbf-0r5B@gemulon.postgresql.org>
Permalink:  ../E1xBDVM-00000001cbf-0r5B@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1xBDVM-00000001cbf-0r5B@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: alvherre@kurilemu.de
  Subject: Re: pgsql: Turn "check" into assertion
  In-Reply-To: <E1xBDVM-00000001cbf-0r5B@gemulon.postgresql.org>
  References: <E1xBDVM-00000001cbf-0r5B@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox