Skip to content

Commit 6e778e7

Browse files
authored
Merge pull request #666 from bravosierrasierra/bravosierrasierra-patch-2
Fix checkpoint_write_time value type
2 parents e552a37 + a627e7f commit 6e778e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: collector/pg_stat_bgwriter.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ func (PGStatBGWriterCollector) Update(ctx context.Context, db *sql.DB, ch chan<-
122122

123123
var cpt int
124124
var cpr int
125-
var cpwt int
125+
var cpwt float64
126126
var cpst int
127127
var bcp int
128128
var bc int

0 commit comments

Comments
 (0)