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.
After two betas with minimal (reported) issues, pgx v0.7.0 is finally here!
The full set of code changes since pgx' previous version series (0.6.x) can be found here. It might also be beneficial to review the release notes for the 0.7.0-betas at beta0 and beta1
Below is the small set of changes since beta1.
As always, please make sure to install the latest
cargo-pgx
withcargo install cargo-pgx --version 0.7.0 --locked
and update your extension crate dependencies.Thanks to all the contributors and users. pgx wouldn't be possible without your participation!
What's Changed
A New Hook
This allows extensions to intercept "ereport" messages as they're emitted by either Postgres or pgx. Maybe you've always wanted to send log messages to some external collection system? Now you can!
Cross Compilation Support
cargo pgx cross pgx-target
by @thomcc in Allow manually choosing the scratch directory incargo pgx cross pgx-target
#1016CROSS_COMPILE.md
aboutrustup target add
vsrustup toolchain add
by @thomcc in Fix confusing typo inCROSS_COMPILE.md
aboutrustup target add
vsrustup toolchain add
#1017PgConfig
to be able to construct itself from a set of environment variables by @eeeebbbbrrrr in enhancePgConfig
to be able to construct itself from a set of environment variables #1019 and If there's a "pg_config" described in the environment, use it. #1020Other Cleanups
PgHeapTuple::into_pg(self)
by @eeeebbbbrrrr in addPgHeapTuple::into_pg(self)
#1018New Contributors
Full Changelog: v0.7.0-beta.1...v0.7.0