mirror of
https://github.com/postgres/postgres.git
synced 2026-05-17 03:50:39 -04:00
Previously, (auto)analyze used global variables VacuumPageHit,
VacuumPageMiss, and VacuumPageDirty to track buffer usage. However,
pgBufferUsage provides a more generic way to track buffer usage with
support functions.
This change replaces those global variables with pgBufferUsage in
analyze. Since analyze was the sole user of those variables, it
removes their declarations. Vacuum previously used those variables but
replaced them with pgBufferUsage as part of a bug fix, commit
|
||
|---|---|---|
| .. | ||
| globals.c | ||
| Makefile | ||
| meson.build | ||
| miscinit.c | ||
| postinit.c | ||
| usercontext.c | ||