use the proper column name in pg_stat_activity for the postgres version