Issue (#48): Fix typos in the code.

Jira: PG-133
pull/55/head
Ibrar Ahmed 2020-10-08 18:47:49 +00:00
parent d66a079b1b
commit db01ed546b
2 changed files with 4 additions and 4 deletions

4
guc.c
View File

@ -98,7 +98,7 @@ init_guc(void)
conf[i++] = (GucVariable) { conf[i++] = (GucVariable) {
.guc_name = "pg_stat_monitor.pgsm_respose_time_step", .guc_name = "pg_stat_monitor.pgsm_respose_time_step",
.guc_desc = "Sets the respose time steps in millisecond.", .guc_desc = "Sets the response time steps in millisecond.",
.guc_default = 1, .guc_default = 1,
.guc_min = 1, .guc_min = 1,
.guc_max = INT_MAX, .guc_max = INT_MAX,
@ -237,7 +237,7 @@ init_guc(void)
NULL); NULL);
DefineCustomIntVariable("pg_stat_monitor.pgsm_respose_time_step", DefineCustomIntVariable("pg_stat_monitor.pgsm_respose_time_step",
"Sets the respose time steps in millisecond.", "Sets the response time steps in millisecond.",
NULL, NULL,
&PGSM_RESPOSE_TIME_STEP, &PGSM_RESPOSE_TIME_STEP,
1, 1,

View File

@ -34,7 +34,7 @@ CREATE FUNCTION pg_stat_monitor(IN showtext boolean,
OUT max_time float8, OUT max_time float8,
OUT mean_time float8, OUT mean_time float8,
OUT stddev_time float8, OUT stddev_time float8,
OUT effected_rows int8, OUT affected_rows int8,
OUT shared_blks_hit int8, OUT shared_blks_hit int8,
OUT shared_blks_read int8, OUT shared_blks_read int8,
@ -112,7 +112,7 @@ CREATE VIEW pg_stat_monitor AS SELECT
round( CAST(max_time as numeric), 2)::float8 as max_time, round( CAST(max_time as numeric), 2)::float8 as max_time,
round( CAST(mean_time as numeric), 2)::float8 as mean_time, round( CAST(mean_time as numeric), 2)::float8 as mean_time,
round( CAST(stddev_time as numeric), 2)::float8 as stddev_time, round( CAST(stddev_time as numeric), 2)::float8 as stddev_time,
effected_rows, affected_rows,
shared_blks_hit, shared_blks_hit,
shared_blks_read, shared_blks_read,
shared_blks_dirtied, shared_blks_dirtied,