[HHQ-5990] Postgres plugin query for idle connections needs to be updated for 9.2+