Binary package “ruby-pg-query” in ubuntu oracular
PostgreSQL query parsing and normalization library
Parses SQL queries using a copy of the PostgreSQL server query parser
.
This Ruby extension uses the actual PostgreSQL server source to parse SQL
queries and return the internal PostgreSQL parsetree.
.
In addition the extension allows one to normalize queries (replacing constant
values with ?) and parse these normalized queries into a parsetree again.