Show running Postgres queries

Databases
SELECT pid, state, query FROM pg_stat_activity WHERE state <> 'idle';