parent
861fabb39f
commit
beeb960e82
15
guc.c
15
guc.c
|
@ -124,7 +124,7 @@ init_guc(void)
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
DefineCustomIntVariable("pg_stat_monitor.max",
|
DefineCustomIntVariable("pg_stat_monitor.pgsm_max",
|
||||||
"Sets the maximum number of statements tracked by pg_stat_monitor.",
|
"Sets the maximum number of statements tracked by pg_stat_monitor.",
|
||||||
NULL,
|
NULL,
|
||||||
&PGSM_MAX,
|
&PGSM_MAX,
|
||||||
|
@ -137,7 +137,7 @@ init_guc(void)
|
||||||
NULL,
|
NULL,
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
DefineCustomIntVariable("pg_stat_monitor.query_max_len",
|
DefineCustomIntVariable("pg_stat_monitor.pgsm_query_max_len",
|
||||||
"Sets the maximum length of query",
|
"Sets the maximum length of query",
|
||||||
NULL,
|
NULL,
|
||||||
&PGSM_QUERY_MAX_LEN,
|
&PGSM_QUERY_MAX_LEN,
|
||||||
|
@ -150,7 +150,7 @@ init_guc(void)
|
||||||
NULL,
|
NULL,
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
DefineCustomEnumVariable("pg_stat_monitor.track",
|
DefineCustomEnumVariable("pg_stat_monitor.pgsm_track",
|
||||||
"Selects which statements are tracked by pg_stat_monitor.",
|
"Selects which statements are tracked by pg_stat_monitor.",
|
||||||
NULL,
|
NULL,
|
||||||
&PGSM_TRACK,
|
&PGSM_TRACK,
|
||||||
|
@ -162,7 +162,7 @@ init_guc(void)
|
||||||
NULL,
|
NULL,
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
DefineCustomBoolVariable("pg_stat_monitor.track_utility",
|
DefineCustomBoolVariable("pg_stat_monitor.pgsm_track_utility",
|
||||||
"Selects whether utility commands are tracked by pg_stat_monitor.",
|
"Selects whether utility commands are tracked by pg_stat_monitor.",
|
||||||
NULL,
|
NULL,
|
||||||
(bool*)&PGSM_TRACK_UTILITY,
|
(bool*)&PGSM_TRACK_UTILITY,
|
||||||
|
@ -173,7 +173,7 @@ init_guc(void)
|
||||||
NULL,
|
NULL,
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
DefineCustomBoolVariable("pg_stat_monitor.normalized_query",
|
DefineCustomBoolVariable("pg_stat_monitor.pgsm_normalized_query",
|
||||||
"Selects whether save query in normalized format.",
|
"Selects whether save query in normalized format.",
|
||||||
NULL,
|
NULL,
|
||||||
(bool*)&PGSM_NORMALIZED_QUERY,
|
(bool*)&PGSM_NORMALIZED_QUERY,
|
||||||
|
@ -197,7 +197,7 @@ init_guc(void)
|
||||||
NULL,
|
NULL,
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
DefineCustomIntVariable("pg_stat_monitor.bucket_time",
|
DefineCustomIntVariable("pg_stat_monitor.pgsm_bucket_time",
|
||||||
"Sets the time in seconds per bucket.",
|
"Sets the time in seconds per bucket.",
|
||||||
NULL,
|
NULL,
|
||||||
&PGSM_BUCKET_TIME,
|
&PGSM_BUCKET_TIME,
|
||||||
|
@ -250,7 +250,7 @@ init_guc(void)
|
||||||
NULL,
|
NULL,
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
DefineCustomIntVariable("pg_stat_monitor.pgsm_query_shared_buffer.",
|
DefineCustomIntVariable("pg_stat_monitor.pgsm_query_shared_buffer",
|
||||||
"Sets the shared_buffer size",
|
"Sets the shared_buffer size",
|
||||||
NULL,
|
NULL,
|
||||||
&PGSM_QUERY_BUF_SIZE,
|
&PGSM_QUERY_BUF_SIZE,
|
||||||
|
@ -262,6 +262,7 @@ init_guc(void)
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
DefineCustomBoolVariable("pg_stat_monitor.pgsm_track_planning",
|
DefineCustomBoolVariable("pg_stat_monitor.pgsm_track_planning",
|
||||||
"Selects whether track planning statistics.",
|
"Selects whether track planning statistics.",
|
||||||
NULL,
|
NULL,
|
||||||
|
|
Loading…
Reference in New Issue