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 RustCopy + 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 topsql
viacargo 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
andOwnedVarlena
types -- these were ill-conceived and otherwise dead code. You probably want the newPgVarlena
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!