Binary package “libpg-query-dev” in ubuntu oracular
C library for accessing the PostgreSQL parser outside of the server environment
This library uses the actual PostgreSQL server source to parse SQL queries and
return the internal PostgreSQL parse tree.