github pgcentralfoundation/pgrx v0.7.1

latest releases: v0.12.8, v0.12.7, v0.12.6...
21 months ago

Welcome to pgx v0.7.1. It is a small point release that primarily finishes Numeric support. That said, it wouldn't be a proper pgx release without at least one possible breaking API change.

As always, make sure to install cargo-pgx with cargo install cargo-pgx --version 0.7.1 --locked and update crate dependencies as well.

New Trait Impls

  • Support all the Rust "math" operations (Add, Sub, Mul, Div, Rem) for Numeric<P, S> and AnyNumeric against primitives (and each other) by @eeeebbbbrrrr in #1029

Breaking API Change

Our prior usages of cstr_core were to work around the fact that Rust's CStr/CString types required std. As of Rust v1.64, they can be used in no_std environments (which pgx, surprisingly!, supports), so there is no longer a need for us to rely on cstr_core and to re-export it as our own type.

You may run into compilation issues if you implement custom Aggregates.

Something Interesting

This ought to be considered experimental. If you do need to make a 32bit pgx extension and run into problems, please let us know.

Full Changelog: v0.7.0...v0.7.1

Don't miss a new pgrx release

NewReleases is sending notifications on new releases.