mirror of
https://github.com/percona/pg_stat_monitor.git
synced 2026-02-04 14:06:20 +00:00
Format code
This commit is contained in:
@@ -1362,7 +1362,8 @@ pgsm_update_entry(pgsmEntry * entry,
|
||||
int plan_text_len = plan_info ? plan_info->plan_len : 0;
|
||||
|
||||
/* Start collecting data for next bucket and reset all counters and timestamps */
|
||||
if (reset) {
|
||||
if (reset)
|
||||
{
|
||||
memset(&entry->counters, 0, sizeof(Counters));
|
||||
entry->stats_since = GetCurrentTimestamp();
|
||||
entry->minmax_stats_since = entry->stats_since;
|
||||
@@ -2071,7 +2072,8 @@ pg_stat_monitor_internal(FunctionCallInfo fcinfo,
|
||||
pgsmSharedState *pgsm;
|
||||
|
||||
int expected_columns;
|
||||
switch (api_version) {
|
||||
switch (api_version)
|
||||
{
|
||||
case PGSM_V1_0:
|
||||
expected_columns = PG_STAT_MONITOR_COLS_V1_0;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user