Skip to content

Commit 0e38274

Browse files
authored
Release 6.2.0 (#82)
1 parent 778f737 commit 0e38274

6 files changed

Lines changed: 16 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Changelog
22

3+
## 6.2.0 2026-07-29
4+
5+
* Upgrade to libpg_query 17-6.2.2
6+
* Add `pg_query::summary` function
7+
- This uses the new `pg_query_summary` C function that significantly improves performance when
8+
you need metadata (like a list of referenced tables) but don't need the full parse tree.
9+
* `NodeEnum`: Improve performance when iterating over parse tree using `nodes` and `nodes_mut`
10+
* Fix build caching issues in `build.rs` script
11+
312
## 6.1.1 2025-08-22
413

514
* `NodeEnum`: Support `MERGE` queries

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "pg_query"
33
description = "PostgreSQL parser that uses the actual PostgreSQL server source to parse SQL queries and return the internal PostgreSQL parse tree."
4-
version = "6.1.1"
4+
version = "6.2.0"
55
edition = "2021"
66
documentation = "https://docs.rs/pg_query"
77
license = "MIT"
@@ -10,7 +10,8 @@ include = [
1010
# pg_query.rs
1111
"README.md", "build.rs", "src/**/*.rs",
1212
# libpg_query
13-
"Makefile", "pg_query.h",
13+
"Makefile",
14+
"libpg_query/*.h",
1415
"libpg_query/{src,vendor}/**/*.{c,h}",
1516
"libpg_query/protobuf/pg_query.pb-c.{c,h}",
1617
"libpg_query/protobuf/pg_query.proto",

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following to your `Cargo.toml`
2222

2323
```toml
2424
[dependencies]
25-
pg_query = "6.1"
25+
pg_query = "6.2"
2626
```
2727

2828
## Examples

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
//!
2323
//! ```toml
2424
//! [dependencies]
25-
//! pg_query = "6.1"
25+
//! pg_query = "6.2"
2626
//! ```
2727
//!
2828
//! # Example: Parsing a query

0 commit comments

Comments
 (0)