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 ------ 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(-)