mirror of
https://github.com/prometheus-community/postgres_exporter
synced 2025-04-04 23:29:30 +00:00
Fix an extraneous comma which bugged the SQL introduced when merging PR #78
See commit 0de0311c22
. The SQL for <9.2 had a
typo which we somehow missed, caught by integration testing.
This commit is contained in:
parent
3f0fb9d3a4
commit
8877b69804
@ -304,7 +304,7 @@ var queryOverrides = map[string][]OverrideQuery{
|
||||
semver.MustParseRange("<9.2.0"),
|
||||
`
|
||||
SELECT *,
|
||||
(case pg_is_in_recovery() when 't' then null else pg_current_xlog_location() end) AS pg_current_xlog_location,
|
||||
(case pg_is_in_recovery() when 't' then null else pg_current_xlog_location() end) AS pg_current_xlog_location
|
||||
FROM pg_stat_replication
|
||||
`,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user