Skip to content

Commit

Permalink
Issue (#48): Fix typos in the code.
Browse files Browse the repository at this point in the history
Jira: PG-133
  • Loading branch information
ibrarahmad committed Oct 8, 2020
1 parent d66a079 commit db01ed5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions guc.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ init_guc(void)

conf[i++] = (GucVariable) {
.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_min = 1,
.guc_max = INT_MAX,
Expand Down Expand Up @@ -237,7 +237,7 @@ init_guc(void)
NULL);

DefineCustomIntVariable("pg_stat_monitor.pgsm_respose_time_step",
"Sets the respose time steps in millisecond.",
"Sets the response time steps in millisecond.",
NULL,
&PGSM_RESPOSE_TIME_STEP,
1,
Expand Down
4 changes: 2 additions & 2 deletions pg_stat_monitor--1.0.sql
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ CREATE FUNCTION pg_stat_monitor(IN showtext boolean,
OUT max_time float8,
OUT mean_time float8,
OUT stddev_time float8,
OUT effected_rows int8,
OUT affected_rows int8,

OUT shared_blks_hit int8,
OUT shared_blks_read int8,
Expand Down Expand Up @@ -112,7 +112,7 @@ CREATE VIEW pg_stat_monitor AS SELECT
round( CAST(max_time as numeric), 2)::float8 as max_time,
round( CAST(mean_time as numeric), 2)::float8 as mean_time,
round( CAST(stddev_time as numeric), 2)::float8 as stddev_time,
effected_rows,
affected_rows,
shared_blks_hit,
shared_blks_read,
shared_blks_dirtied,
Expand Down

0 comments on commit db01ed5

Please sign in to comment.