Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Welcome to pgrx v0.16.0.
This release contains support for Postgres 18beta2 and has some breaking changes in that support for pgrx' "hooks" implementation, which has been deprecated for over a year, has finally been removed.
Additionally, due to unsoundness issues, direct support for using
heaplessin shared memory has been removed. Users can still do this themselves, which requires them to assert they're taking responsibility of possible unsoundness issues.As always, first install the latest
cargo-pgrxwith:Then you're free to run
cargo pgrx upgradein the root of all your extension crates.To pickup pg18beta2 support you'll also want to run
cargo pgrx initso that it can be downloaded and compiled.What's Changed
Breaking Changes
pgrx::hooksby @usamoi in deletepgrx::hooks#2120New Features
BackgroundWorker::connect_worker_to_spi_by_oidby @if0ne in feat:BackgroundWorker::connect_worker_to_spi_by_oid#2116#[pg_cast]to support 3-argument CAST functions by @eeeebbbbrrrr in teach#[pg_cast]to support 3-argument CAST functions #2119#[pg_extern]about a SUPPORT function by @eeeebbbbrrrr in teach#[pg_extern]about a SUPPORT function #2121Bug Fixes
cargo-pgrxImprovements--valgrindto more cargo-pgrx subcommands by @usamoi in add--valgrindto more cargo-pgrx subcommands #2109cargo pgrx regress --resetdbwill runsetup.sqlby @ccleve incargo pgrx regress --resetdbwill runsetup.sql#2113Code Cleanup
Package/Build System Cleanup
Thanks!
Thanks to all contributors -- y'alls work helps keep pgrx moving forward.
Full Changelog: v0.15.0...v0.16.0