Fix integer underflow in shared memory debugging dsa_dump would print a large negative number instead of zero for segment bin 0. Fix by explicitly checking for underflow and add special case for bin 0. Backpatch to all supported versions. Author: Ian Ilyasov <[email protected]> Reviewed-by: Robert Haas <[email protected]> Discussion: https://postgr.es/m/GV1P251MB1004E0D09D117D3CECF9256ECD502@GV1P251MB1004.EURP251.PROD.OUTLOOK.COM Backpatch-through: v12 Branch ------ REL_16_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/a30a305584b81fd25eb890337ebec53acfbdc96b Modified Files -------------- src/backend/utils/mmgr/dsa.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-)
pgsql-committers by date:
Соглашаюсь с условиями обработки персональных данных