Slow query log parser for Postgres