mirror of
https://github.com/percona/pg_stat_monitor.git
synced 2026-02-04 14:06:20 +00:00
PG-159: Bucket start time (bucket_start_time) should be aligned with bucket_time.
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
#include <math.h>
|
||||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
#include <time.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/resource.h>
|
||||
|
||||
@@ -242,7 +243,7 @@ typedef struct pgssSharedState
|
||||
int64 query_buf_size_bucket;
|
||||
int32 relations[REL_LST];
|
||||
char cmdTag[CMD_LST][CMD_LEN];
|
||||
Timestamp bucket_start_time[MAX_BUCKETS]; /* start time of the bucket */
|
||||
char bucket_start_time[MAX_BUCKETS][60]; /* start time of the bucket */
|
||||
} pgssSharedState;
|
||||
|
||||
#define ResetSharedState(x) \
|
||||
|
||||
Reference in New Issue
Block a user