github pganalyze/libpg_query 17-6.2.0

11 hours ago
  • Add fast summary information function (pg_query_summary)
    • This allows gathering certain information, for example which tables are referenced in a
      statement, without requiring a Protobuf serialization step in a higher level library
    • Additionally this can also be used to perform "smart truncation" of a query by
      ommitting deeply nested information (e.g. a CTE definition, or a target list) whilst
      preserving more essential parts like the FROM claus
  • Deparser:
    • Introduce pretty printing / formatting
      • Introduces a new optional pretty print mode that emits a human readable
        output. A detailed explanation of the mechanism can be found at the start
        of the deparser file.
    • Rework handling of expressions inside typecasts
      • Prefer (..)::type syntax, unless we are already in a function call.
    • Use lowercase keywords in xmlroot functions
      • This matches other XML functions as well as the Postgres documentation,
        since these are closer to function argument names than regular keywords.
    • Fix deparse of ALTER TABLE a ALTER b SET STATISTICS DEFAULT
    • Fix the null pointer dereference when handling identity columns
  • Allow alternate definitions of NAMEDATALEN identifier limit
    • This allows building libpg_query with an override of the built-time limit of
      Postgres identifiers (typically 63 characters)
  • Normalization: Add support for CALL statements
  • Bump Postgres to 17.7 and switch back to release tarballs
% shasum -a 256 libpg_query-17-6.2.0.* 
4d5f70f23d44b6a35f1420f15b42e83b383b9db91931bdb15c9b1856800c9fa7  libpg_query-17-6.2.0.tar.gz
a03978089537eb518387e66940cd0e398033c822ce53befb716b65a9646f376b  libpg_query-17-6.2.0.zip

Don't miss a new libpg_query release

NewReleases is sending notifications on new releases.