Skip to content

Commit 349086a

Browse files
committed
Release 17-6.2.0
1 parent 3f1b676 commit 349086a

File tree

3 files changed

+29
-3
lines changed

3 files changed

+29
-3
lines changed

CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,32 @@
22

33
All versions are tagged by the major Postgres version, plus an individual semver for this library itself.
44

5+
## 17-6.2.0 2025-12-10
6+
7+
* Add fast summary information function (pg_query_summary)
8+
- This allows gathering certain information, for example which tables are referenced in a
9+
statement, without requiring a Protobuf serialization step in a higher level library
10+
- Additionally this can also be used to perform "smart truncation" of a query by
11+
ommitting deeply nested information (e.g. a CTE definition, or a target list) whilst
12+
preserving more essential parts like the FROM claus
13+
* Deparser:
14+
- Introduce pretty printing / formatting
15+
- Introduces a new optional pretty print mode that emits a human readable
16+
output. A detailed explanation of the mechanism can be found at the start
17+
of the deparser file.
18+
- Rework handling of expressions inside typecasts
19+
- Prefer (..)::type syntax, unless we are already in a function call.
20+
- Use lowercase keywords in xmlroot functions
21+
- This matches other XML functions as well as the Postgres documentation,
22+
since these are closer to function argument names than regular keywords.
23+
- Fix deparse of ALTER TABLE a ALTER b SET STATISTICS DEFAULT
24+
- Fix the null pointer dereference when handling identity columns
25+
* Allow alternate definitions of NAMEDATALEN identifier limit
26+
- This allows building libpg_query with an override of the built-time limit of
27+
Postgres identifiers (typically 63 characters)
28+
* Normalization: Add support for CALL statements
29+
* Bump Postgres to 17.5 and switch back to release tarballs
30+
531
## 17-6.1.0 2025-04-02
632

733
* Update to Postgres 17.4, and add recent patches scheduled for Postgres 17.5 (not yet released)

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ PG_VERSION_MAJOR = $(call word-dot,$(PG_VERSION),1)
1212
PG_VERSION_NUM = 170005
1313
PROTOC_VERSION = 25.1
1414

15-
VERSION = 6.1.0
15+
VERSION = 6.2.0
1616
VERSION_MAJOR = $(call word-dot,$(VERSION),1)
1717
VERSION_MINOR = $(call word-dot,$(VERSION),2)
1818
VERSION_PATCH = $(call word-dot,$(VERSION),3)

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ This will output the parse tree (whitespace adjusted here for better readability
5959

6060
```json
6161
{
62-
"version": 170004,
62+
"version": 170005,
6363
"stmts": [
6464
{
6565
"stmt": {
@@ -132,7 +132,7 @@ int main() {
132132
This will output the following:
133133

134134
```
135-
version: 170004, tokens: 7, size: 77
135+
version: 170005, tokens: 7, size: 77
136136
"SELECT" = [ 0, 6, SELECT, RESERVED_KEYWORD ]
137137
"update" = [ 7, 13, UPDATE, UNRESERVED_KEYWORD ]
138138
"AS" = [ 14, 16, AS, RESERVED_KEYWORD ]

0 commit comments

Comments
 (0)