diff --git a/guc.c b/guc.c index 87ebdb3..f9a3022 100644 --- a/guc.c +++ b/guc.c @@ -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, @@ -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, diff --git a/pg_stat_monitor--1.0.sql b/pg_stat_monitor--1.0.sql index 1c73e43..c6d2d1f 100644 --- a/pg_stat_monitor--1.0.sql +++ b/pg_stat_monitor--1.0.sql @@ -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, @@ -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,