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 <[email protected]>
Reviewed-by: Antonin Houska <[email protected]>
Reviewed-by: Masahiko Sawada <[email protected]>

Backpatch-through: 19
Discussion: 
https://postgr.es/m/caa-alv5mf6bll+bwvix2yw+cbardth43aofprequnhdzpnb...@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(-)

Reply via email to