Skip to content

Commit

Permalink
Update CHANGELOG and README
Browse files Browse the repository at this point in the history
  • Loading branch information
msepga committed Sep 27, 2024
1 parent a0dc180 commit 8cdd897
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 5 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,21 @@

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

## 17-6.0.0 2024-09-27

* Upgrade to Postgres 17
* Deparser:
- Add support for deparsing `JSON_TABLE`, `JSON_QUERY`, `JSON_EXISTS`, `JSON_VALUE`
- Add support for deparsing `JSON`, `JSON_SCALAR`, `JSON_SERIALIZE`
- Add support for deparsing `COPY ... FORCE_NULL(*)`
- Add support for deparsing `ALTER COLUMN ... SET EXPRESSION AS`
- Add support for deparsing `SET STATISTICS DEFAULT`
- Add support for deparsing `SET ACCESS METHOD DEFAULT`
- Add support for deparsing `... AT LOCAL`
- Add support for deparsing `merge_action()`
- Add support for deparsing `MERGE ... RETURNING`
- Add support for deparsing `NOT MATCHED [ BY TARGET ]`

## 16-5.1.0 2024-01-08

* Add support for compiling on Windows
Expand Down
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ You can find further background to why a query's parse tree is useful here: http
## Installation

```sh
git clone -b 16-latest git://github.com/pganalyze/libpg_query
git clone -b 17-latest git://github.com/pganalyze/libpg_query
cd libpg_query
make
```
Expand Down Expand Up @@ -57,7 +57,7 @@ This will output the parse tree (whitespace adjusted here for better readability

```json
{
"version": 160001,
"version": 170000,
"stmts": [
{
"stmt": {
Expand Down Expand Up @@ -130,7 +130,7 @@ int main() {
This will output the following:

```
version: 160001, tokens: 7, size: 77
version: 170000, tokens: 7, size: 77
"SELECT" = [ 0, 6, SELECT, RESERVED_KEYWORD ]
"update" = [ 7, 13, UPDATE, UNRESERVED_KEYWORD ]
"AS" = [ 14, 16, AS, RESERVED_KEYWORD ]
Expand Down Expand Up @@ -237,7 +237,8 @@ Each major version is maintained in a dedicated git branch. Only the latest Post
| PostgreSQL Major Version | Branch | Status |
|--------------------------|------------|---------------------|
| 16 | 16-latest | Active development |
| 17 | 17-latest | Active development |
| 16 | 16-latest | Critical fixes only |
| 15 | 15-latest | Critical fixes only |
| 14 | 14-latest | Critical fixes only |
| 13 | 13-latest | Critical fixes only |
Expand Down Expand Up @@ -291,4 +292,4 @@ Portions Copyright (c) 1994, The Regents of the University of California
All other parts are licensed under the 3-clause BSD license, see LICENSE file for details.<br>
Copyright (c) 2015, Lukas Fittl <lukas@fittl.com>
Copyright (c) 2016-2023, Duboce Labs, Inc. (pganalyze) <team@pganalyze.com>
Copyright (c) 2016-2024, Duboce Labs, Inc. (pganalyze) <team@pganalyze.com>

0 comments on commit 8cdd897

Please sign in to comment.