Use query_column in long_running_queries

Fixes ERROR:  column pg_stat_activity.query does not exist
LINE 8:  pg_stat_activity.query <> '' :: TEXT