Make vacuum buffer counters 64 bits wide
Alvaro Herrera <alvherre@alvh.no-ip.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/heap/vacuumlazy.c | modified | +4 −4 |
| src/backend/utils/init/globals.c | modified | +3 −3 |
| src/include/miscadmin.h | modified | +3 −3 |
Discussion
- widen vacuum buffer counters 6 messages · 2020-01-31 → 2020-02-05