Ruby extension to parse SQL queries using the PostgreSQL query parser