From df127ef20927167a6c36ebf452910d32b0052fdc Mon Sep 17 00:00:00 2001 From: Konstantin Knizhnik Date: Wed, 21 Jun 2023 09:25:25 +0300 Subject: [PATCH] Fix GUC definition for access statistic --- pgxn/neon/access_stat.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pgxn/neon/access_stat.c b/pgxn/neon/access_stat.c index ec4d47e9ca..c97b719b3e 100644 --- a/pgxn/neon/access_stat.c +++ b/pgxn/neon/access_stat.c @@ -62,8 +62,8 @@ void access_stat_init(void) 1024, 0, INT_MAX, - PGC_POSTMASTER, - GUC_UNIT_MB, + PGC_USERSET, + 0, NULL, NULL, NULL); @@ -74,8 +74,8 @@ void access_stat_init(void) 1024, 0, INT_MAX, - PGC_POSTMASTER, - GUC_UNIT_MB, + PGC_USERSET, + 0, NULL, NULL, NULL); @@ -86,8 +86,8 @@ void access_stat_init(void) 0.9, 0, INT_MAX, - PGC_POSTMASTER, - GUC_UNIT_MB, + PGC_USERSET, + 0, NULL, NULL, NULL); @@ -98,8 +98,8 @@ void access_stat_init(void) 10, 0, INT_MAX, - PGC_POSTMASTER, - GUC_UNIT_MB, + PGC_USERSET, + 0, NULL, NULL, NULL);