diff --git a/cmd/postgres_exporter/queries.go b/cmd/postgres_exporter/queries.go index e872b8802..e27480f4f 100644 --- a/cmd/postgres_exporter/queries.go +++ b/cmd/postgres_exporter/queries.go @@ -120,7 +120,7 @@ var queryOverrides = map[string][]OverrideQuery{ "pg_stat_archiver": { { - semver.MustParseRange(">=0.0.0"), + semver.MustParseRange(">=9.4.0"), ` SELECT *, extract(epoch from now() - last_archived_time) AS last_archive_age