|
2 | 2 |
|
3 | 3 | ## Unreleased |
4 | 4 |
|
| 5 | +* ... |
| 6 | + |
| 7 | + |
| 8 | +## 6.2.2 2026-01-27 |
| 9 | + |
5 | 10 | * Upgrade to libpg_query 17-6.2.2 |
6 | | - - Add pg_query_is_utility_stmt function to determine if query text contains utility statements [#313](https://github.com/pganalyze/libpg_query/pull/313) |
| 11 | + - Add IsUtilityStmt function to determine if query text contains utility statements |
7 | 12 | - This is a fast check for callers that don't actually need the parse tree itself |
8 | | - - Add fast summary information function (pg_query_summary) |
| 13 | + - Add Summary function to get summary information about a statement quickly |
9 | 14 | - This allows gathering certain information, for example which tables are referenced in a |
10 | 15 | statement, without requiring a Protobuf serialization step in a higher level library |
11 | 16 | - Additionally this can also be used to perform "smart truncation" of a query by |
12 | 17 | omitting deeply nested information (e.g. a CTE definition, or a target list) whilst |
13 | 18 | preserving more essential parts like the FROM clause |
14 | | - - pg_query_normalize: Fix handling of special strings in DefElem |
15 | | - - This avoids a crash when running the normalize function on certain utility statements |
| 19 | + - Normalize: |
| 20 | + - Fix handling of special strings in DefElem |
| 21 | + - This avoids a crash when running the normalize function on certain utility statements |
| 22 | + - Add support for CALL statements |
16 | 23 | - Deparser: |
17 | 24 | - Introduce pretty printing / formatting |
18 | 25 | - Introduces a new optional pretty print mode that emits a human readable |
|
28 | 35 | - Allow alternate definitions of NAMEDATALEN identifier limit |
29 | 36 | - This allows building libpg_query with an override of the built-time limit of |
30 | 37 | Postgres identifiers (typically 63 characters) |
31 | | - - Normalization: Add support for CALL statements |
32 | 38 | - Bump Postgres to 17.7 and switch back to release tarballs |
| 39 | +* Avoid conflicts with other cgo libraries utilizing xxhash by using XXH_NAMESPACE [#144](https://github.com/pganalyze/pg_query_go/pull/144) |
| 40 | +* Remove redundant copy of result in ParseToProtobuf [#139](https://github.com/pganalyze/pg_query_go/pull/139) |
33 | 41 |
|
34 | 42 |
|
35 | 43 | ## 6.1.0 2025-02-24 |
|
0 commit comments