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.13.0. The first update in a little bit, which makes pgrx current with upstream dependencies, rust 1.85.0 (but not 2024 Edition, yet), and a slew of fixes and cleanups and community contributions.
Upgrading
You'll need to
cargo install cargo-pgrx --version 0.13.0 --locked
to get the latestcargo-pgrx
tool, and then you can runcargo pgrx upgrade
in your extension crates to update their dependencies.Breaking Changes
Generally, the only breaking changes in v0.13.0 are related to the user-facing SPI APIs. In general, SPI functions that previously took a Vec of Arguments now take a
&[DatumWithOid]
, with proper lifetime bounds. This is a fairly straightforward, boilerplate to update to.@YohDeadfall has done a lot of work on improving SPI's safety and it's greatly appreciated!
What's Changed
cargo-pgrx
cargo pgrx install
duringget_git_hash()
by @eeeebbbbrrrr in fix a deadlock incargo pgrx install
duringget_git_hash()
#1935cargo pgrx test --runas
envar passing by @eeeebbbbrrrr incargo pgrx test --runas
envar passing #1674Build System
allowlist_file
for bindgen by @usamoi in useallowlist_file
for bindgen #1922pg_config --libdir
to linker search path by @usamoi in addpg_config --libdir
to linker search path #1932SPI
General
pgrx-pg-sys
Interfacesoids_of!
macro by @YohDeadfall in Addedoids_of!
macro #1879bufpage.h
functions by @rebasedming in Portbufpage.h
functions #1982Bug Fixes
wait_latch
function to exit onWL_POSTMASTER_DEATH
by @var77 in Check wakeup_flags fromwait_latch
function to exit onWL_POSTMASTER_DEATH
#1938Overall Code Cleanup
&
) by @hamirmahal in refactor: remove redundant references (&
) #1941Thanks!
Thanks to the community, past, present, and future. Especially to our new contributors...
New Contributors
wait_latch
function to exit onWL_POSTMASTER_DEATH
#1938Full Changelog: v0.12.7...v0.13.0