github pgcentralfoundation/pgrx v0.8.2

latest releases: v0.12.5, v0.12.4, v0.12.3...
17 months ago

pgrx v0.8.2 is a small bugfix release.

It fixes a bug decoding arrays of enums, and perhaps other pass-by-value datums, that could lead to reading past the end of the backing array structure along with fixing a regression regarding compilation speeds.

When upgrading, please make sure to run cargo install cargo-pgrx --locked.

Changes

  • PR #1125 - the Array<T> type can now properly decode Ts that are enums annotated with #[derive(PostgresEnum)] and should also work properly with other pass-by-value datum types that require going through FromDatum::from_datum(). This is a fairly important bugfix as with v0.8.0/1 it's possible for Array<T> to read past the end of the array.

  • PR #1127 - due to no good deed going unpunished, and some over-zealousness in PR #1111, consecutive "cargo build" commands such as cargo pgx run/test/install would cause the pgrx-pg-sys/build.rs file to run again, causing a full rebuild of (at least) that crate. This was an unintended side-effect and #1127 fixes it.

  • PR #1128 - remove a few unused dependencies

Full Changelog: v0.8.1...v0.8.2

Don't miss a new pgrx release

NewReleases is sending notifications on new releases.