Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 21, 2026

Bumps pg_query from 6.1.0 to 6.2.1.

Changelog

Sourced from pg_query's changelog.

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
  • 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)
  • 6a6556f Support null_test and boolean_test node type with parsing (#335)
  • 24597b2 Fix ABI version error with TruffleRuby on Mac (#332)
  • See full diff 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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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.1.
- [Changelog](https://github.com/pganalyze/pg_query/blob/main/CHANGELOG.md)
- [Commits](pganalyze/pg_query@v6.1.0...v6.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies ruby Pull requests that update Ruby code labels Jan 21, 2026
@KralMarko123 KralMarko123 merged commit d7cdad5 into master Jan 23, 2026
4 checks passed
@KralMarko123 KralMarko123 deleted the dependabot/bundler/pg_query-6.2.1 branch January 23, 2026 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies ruby Pull requests that update Ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant