v0.4.3
This is pgx v0.4.3. It brings a number of new code-level features, faster compilation, more PostgreSQL header bindings, and other fun stuff!
When upgrading, please ensure to run cargo install cargo-pgx and to also update your crate dependencies to reference 0.4.3.
What's Changed
General Compilation and Bindings
#[pg_guard]cleanup by @eeeebbbbrrrr in #526- This significantly improves compilation time of the
pgx-pg-syscrate
- This significantly improves compilation time of the
- Add pg_operator.h by @einarmo in #512
- Add support for pg_authid by @nikkhils in #527
cargo-pgx changes
- Remove dead --workspace flag on cargo pgx test by @Hoverbear in #520
- Support
--pgcli by @Hoverbear in #538 (see cargo-pgx docs - Pass
RUSTFLAGSto rustc on schema generate by @Hoverbear in #513
Source-code Additions
- Add Copy,Clone for
pgx::Timestamp*types by @jamessewell in #509 - Add
From<Timestamp>impls by @jamessewell in #510 - Get
TimestampWithTimeZonefromOffsetDateTimeby @einarmo in #539 - Allow compilation on OpenBSD by @ledeuns in #359
Misc
- Updates Github Action runners for PGX by @BradyBonnette in #541
- update copyright headers by @eeeebbbbrrrr in #511
New Contributors
- @BradyBonnette made their first contribution in #541
- @ledeuns made their first contribution in #359
Full Changelog: v0.4.2...v0.4.3