From 6b5b2e094884b74b2f56c6bc88b6707bbbf848db Mon Sep 17 00:00:00 2001 From: Ibrar Ahmed Date: Fri, 1 May 2020 15:43:42 +0000 Subject: [PATCH] Issue - (#32): Fix the table_name's empty or wrong values issue. Increase the size of the table_names array to fit all the names of tables in that array. Accidentally set the very low value for that. --- pg_stat_monitor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pg_stat_monitor.h b/pg_stat_monitor.h index c9be334..0123050 100644 --- a/pg_stat_monitor.h +++ b/pg_stat_monitor.h @@ -58,7 +58,7 @@ #define JUMBLE_SIZE 1024 /* query serialization buffer size */ #define MAX_RESPONSE_BUCKET 10 -#define MAX_REL_LEN 2 +#define MAX_REL_LEN 255 #define MAX_BUCKETS 10 #define MAX_OBJECT_CACHE 100