Skip to content

Commit 6bace28

Browse files
authored
Merge pull request #667 from n-rodriguez/wip/fix_cast
Fix checkpoint_sync_time value type
2 parents 6e778e7 + 8855b7a commit 6bace28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

collector/pg_stat_bgwriter.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ func (PGStatBGWriterCollector) Update(ctx context.Context, db *sql.DB, ch chan<-
123123
var cpt int
124124
var cpr int
125125
var cpwt float64
126-
var cpst int
126+
var cpst float64
127127
var bcp int
128128
var bc int
129129
var mwc int

0 commit comments

Comments
 (0)