From 17fd1c64b70847b07d03c9dae9775162962bf719 Mon Sep 17 00:00:00 2001 From: David Christensen Date: Mon, 5 Feb 2024 15:08:39 -0600 Subject: [PATCH] fix: scale was off --- pg_kaboom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pg_kaboom.c b/pg_kaboom.c index 24e51da..e01695f 100644 --- a/pg_kaboom.c +++ b/pg_kaboom.c @@ -32,7 +32,7 @@ #define PG_MAJOR_VERSION (PG_VERSION_NUM / 100) /* compatibility macros */ -#if PG_MAJOR_VERSION < 16 +#if PG_MAJOR_VERSION < 1600 #define GET_BEENTRY(i) pgstat_fetch_stat_beentry(i); #else #define GET_BEENTRY(i) pgstat_get_beentry_by_backend_id(i);