Skip to content

chore(deps): update pgrx-tests requirement from =0.16.1 to =0.18.0#28

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/cargo/pgrx-tests-eq-0.18.0
Open

chore(deps): update pgrx-tests requirement from =0.16.1 to =0.18.0#28
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/cargo/pgrx-tests-eq-0.18.0

Conversation

@dependabot
Copy link
Copy Markdown

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

Updates the requirements on pgrx-tests to permit the latest version.

Release notes

Sourced from pgrx-tests's releases.

v0.18.0

pgrx v0.18.0

Welcome to pgrx v0.18.0! We cut the build in half.

Schema generation no longer needs a second compilation pass. Your extension compiles once, cargo-pgrx reads SQL metadata straight out of the shared library, and that's it. No more pgrx_embed binary. No more [[bin]] target. No more waiting to compile everything twice.

v0.18.0 also ships in-process benchmarking, a stack of improvements that make pgrx much friendlier to AI coding agents, Rust backtraces for Postgres errors, lazy log allocation, and a handful of quality-of-life fixes that add up to a noticeably better development experience.

Install with:

$ cargo install cargo-pgrx --version 0.18.0 --locked

And make sure to update your crate dependencies to pgrx = "=0.18.0"


One Compilation Pass

#2264 by @​eeeebbbbrrrr

This is the big one.

cargo pgrx schema used to compile your extension, then compile and run a separate pgrx_embed helper binary to extract SQL metadata.

Now it compiles your extension once. The SQL entity metadata is embedded directly into the shared library during the normal build, and cargo-pgrx reads it back out of the .pgrx linker section afterward.

What that means in practice:

  • Faster builds. The second compilation pass is gone. If your extension actually takes 45 seconds to build, you were spending ~90 seconds on every cargo pgrx test or cargo pgrx schema. Not anymore.
  • Simpler boilerplate. New extensions are just cdylib crates. No src/bin/pgrx_embed.rs. No [[bin]] target. No crate-type = ["lib", "cdylib"]. Just crate-type = ["cdylib"] and your extension code.
  • Stricter type resolution. The SQL entity graph now resolves types by TYPE_IDENT (a qualified Rust-side identity using module_path!()) instead of the old loosely-inferred SCHEMA_KEY. Two types with the same name in different modules no longer collide. Types that claim to be extension-owned must actually resolve to a producer in the graph, or schema generation fails. No more silent guessing.

Additionally, the pgrx repo itself is now a proper Cargo workspace with cargo-pgrx, all the core crates, examples, and a dedicated pgrx-unit-tests extension crate. CI exercises the in-tree cargo-pgrx when running tests.

See the v18.0 Migration Guide for the full details and worked examples.

Breaking Changes From One-Compile

Manual SqlTranslatable implementations must move from methods to associated consts:

... (truncated)

Commits
  • 0486b47 Update version to 0.18.0 (#2276)
  • ad211d0 Make cargo pgrx regress \<testname> use the default pg version (#2278)
  • af589dd cargo fmt
  • 265eb38 fix this installation regression test for Windows
  • 9761723 fix clippy complaint
  • abe67d1 cargo fmt
  • 5998a61 fix(schema): ignore mid-stream sentinel entries during test installs
  • e2723fd Fix release-mode cshim wrapper collisions
  • 59c7be9 cargo pgrx run foo treats non-pgXX first arg as dbname (#2275)
  • d9aa250 cargo pgrx test foo treats non-pgXX first arg as testname filter (#2274)
  • Additional commits viewable in compare view

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)

Updates the requirements on [pgrx-tests](https://github.com/pgcentralfoundation/pgrx) to permit the latest version.
- [Release notes](https://github.com/pgcentralfoundation/pgrx/releases)
- [Commits](pgcentralfoundation/pgrx@v0.16.1...v0.18.0)

---
updated-dependencies:
- dependency-name: pgrx-tests
  dependency-version: 0.18.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Apr 20, 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 rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants