pgsql: Turn "check" into assertion
pgsql: Turn "check" into assertion
От:
Álvaro Herrera <alvherre@kurilemu.de>
Дата:
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 Reviewed-by: Antonin Houska Reviewed-by: Masahiko Sawada 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(-)