github pgcentralfoundation/pgrx v0.0.13

latest releases: v0.12.8, v0.12.7, v0.12.6...
4 years ago

This is pgx v0.0.13. It's a feature and bug fix/cleanup release.

When upgrading, please ensure to run cargo install cargo-pgx to update its cargo subcommand.

New Features

  • The PostgresType trait can now project Rust Copy + Sized types from a Postgres "varlena", providing for zero-copy types between Postgres<-->Rust boundaries. See the documentation and examples for details.

Bug Fixes/Cleanups

  • Fix cargo pgx run reload order to avoid possible Postgres segfaults
  • Fix ^C passthrough to psql via cargo pgx run
  • Fix Postgres v10 incompatibility when autogenerating CREATE OPERATOR DDL
  • Cleanup pgx-tests crate so that its tests don't interfere with 3rd-party tests
  • Cleanup code generation for wrapped functions, including multiple unnecessary levels of pg_sys::guard::guard()
  • Removed the DetoastedVarlena and OwnedVarlena types -- these were ill-conceived and otherwise dead code. You probably want the new PgVarlena type.

Thanks!

Thanks to everyone using pgx, reporting issues, and especially submitting pull requests.

Sponsor our Work

Please consider sponsoring our work on pgx (and ZomboDB, by choosing a sponsorship tier. Your sponsorship, at any tier, is greatly appreciated and helps keep pgx and ZomboDB free and actively developed!

Don't miss a new pgrx release

NewReleases is sending notifications on new releases.