As @dbakit already said in https://github.com/prometheus-community/postgres_exporter/pull/961#issuecomment-1855052713 `active_time` is only available on postgres >=14. Maybe there is a need for versioning pg versions in the collector package?