pgsql: Turn "check" into assertion - Mailing list pgsql-committers

From Álvaro Herrera
Subject pgsql: Turn "check" into assertion
Date
Msg-id E1xBDVM-00000001cbd-0lVl@gemulon.postgresql.org
Whole thread
List pgsql-committers
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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6dc3fd90f126fa409eac51a4182ee09b9d63c16c

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


pgsql-committers by date:

Previous
From: Álvaro Herrera
Date:
Subject: Re: pgsql: Lock the TOAST table early in REPACK (CONCURRENTLY)
Next
From: Daniel Gustafsson
Date:
Subject: pgsql: Fix WAL file selection in 013_rewind test