Apocrypha

libpg_query

C library for accessing the PostgreSQL parser outside of the server environment

C library for accessing the PostgreSQL parser outside of the server. This library uses the actual PostgreSQL server source to parse SQL queries and return the internal PostgreSQL parse tree. Note that this is mostly intended as a base library for pg_query (Ruby), pg_query.go (Go), pgsql-parser (Node), psqlparse (Python) and pglast (Python 3). You can find further background to why a query's parse tree is useful here: https://pganalyze.com/blog/parse-postgresql-queries-in-ruby.html

Available in

OverlayNewestEbuildsLast activity
guru gitweb ↗ 17.6.0.0 2 46 h details ›

Versions & arches

VersionOverlay amd64 Committed
17.6.0.0 guru amd64 testing view · download · history ↗
16.5.1.0 guru amd64 testing view · download · history ↗

Use flags of 17.6.0.0

  • examples Install examples, usually source code
  • static-libs Build static versions of dynamic libraries as well