Thread: pgsql: Make vacuum buffer counters 64 bits wide

pgsql: Make vacuum buffer counters 64 bits wide

From
Alvaro Herrera
Date:
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/15d13e82911f7cc9f04f0bf419a96fd827fd1a9d

Modified Files
--------------
src/backend/access/heap/vacuumlazy.c | 8 ++++----
src/backend/utils/init/globals.c     | 6 +++---
src/include/miscadmin.h              | 6 +++---
3 files changed, 10 insertions(+), 10 deletions(-)