Skip to content

build(deps): bump pg_query from 6.1.0 to 6.2.2#6879

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/bundler/pg_query-6.2.2
Open

build(deps): bump pg_query from 6.1.0 to 6.2.2#6879
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/bundler/pg_query-6.2.2

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 24, 2026

Bumps pg_query from 6.1.0 to 6.2.2.

Changelog

Sourced from pg_query's changelog.

6.2.2 2026-01-26

  • Upgrade to libpg_query 17-6.2.2
    • pg_query_normalize: Fix handling of special strings in DefElem
      • This avoids a crash when running the normalize function on certain utility statements
    • pg_query_deparse_comments_for_query: Add missing initialization
      • This avoids a crash for callers that read the error field of the result when there is no error

6.2.1 2026-01-20

  • Upgrade to libpg_query 17-6.2.1
    • Add pg_query_is_utility_stmt function to determine if query text contains utility statements #313
      • This is a fast check for callers that don't actually need the parse tree itself
    • 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 omitting deeply nested information (e.g. a CTE definition, or a target list) whilst preserving more essential parts like the FROM clause
    • 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
  • Deparser: Support pretty-printing and other deparser options
    • PgQuery::ParserResult#deparse now takes options like pretty_print
  • Add PgQuery.split_with_parser method to allow splitting statements
  • Support Ruby 4.0+ development versions for extension building
  • Fix ABI version error with TruffleRuby on Mac
  • Support finding functions invoked with CALL
  • Support null_test and boolean_test node type with parsing
  • Expose PgQuery::ParserResult#find_tree_location method
Commits
  • 9a16147 Release 6.2.2
  • 3c0f436 Ignore compiler warnings that are expected
  • 3297db7 Update libpg_query to 17-6.2.2
  • 60de0ee Release 6.2.1 (#344)
  • 3b29997 Deparser: Support pretty-printing and other deparser options
  • af3434b Update libpg_query to 17-6.2.1
  • 0077294 Add PgQuery.split_with_parser to allow splitting statements
  • 8281a5d Expose find_tree_location method (#343)
  • 653f852 Support Ruby 4.0+ development versions for extension building (#341)
  • d8a6b8f Handle "CALL fn()" (#336)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [pg_query](https://github.com/pganalyze/pg_query) from 6.1.0 to 6.2.2.
- [Changelog](https://github.com/pganalyze/pg_query/blob/main/CHANGELOG.md)
- [Commits](pganalyze/pg_query@v6.1.0...v6.2.2)

---
updated-dependencies:
- dependency-name: pg_query
  dependency-version: 6.2.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Apr 24, 2026
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Apr 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant