git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 75cdf24) | patch
Make vacuum buffer counters 64 bits wide
Wed, 5 Feb 2020 19:59:29 +0000 (16:59 -0300)
Wed, 5 Feb 2020 19:59:29 +0000 (16:59 -0300)
commit 15d13e82911f7cc9f04f0bf419a96fd827fd1a9d
Make vacuum buffer counters 64 bits wide

Using 32 bit counters means they can now realistically wrap around when
vacuuming extremely large tables. Because they're signed integers,
stats printed by vacuum look very odd when they do.

We'd love to backpatch this, but refrain because the variables are
exported and could cause third-party code to break.

Reviewed-by: Julien Rouhaud, Tom Lane, Michael Paquier
Discussion: https://postgr.es/m/20200131205926.GA16367@alvherre.pgsql
src/backend/access/heap/vacuumlazy.c diff | blob | blame | history
src/backend/utils/init/globals.c diff | blob | blame | history
src/include/miscadmin.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /