pgsql: Make vacuum buffer counters 64 bits wide - Mailing list pgsql-committers

From Alvaro Herrera
Subject pgsql: Make vacuum buffer counters 64 bits wide
Date
Msg-id E1izR5C-0004r8-3e@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: ALTER SUBSCRIPTION / REFRESH docs: explain copy_data
Next
From: Andrew Gierth
Date:
Subject: pgsql: Force tuple conversion when the source has missing attributes.