This is pgx
v0.0.14. It is an important update as it resolves incompatibilities with recent changes to upstream dependencies.
Please make sure to run cargo install cargo-pgx
to update your cargo-pgx version. While always important for a new version of pgx
, it's doubly important for this release as it's the cargo subcommand that exhibits most of the incompatibility problems.
Bugs Fixed
- Issue #42: Resolve issues with a breaking change in
proc-macro2
- Issue #40: bgworker example works now. Also don't pass Postgres' various
PGXXX
environment variables through duringcargo pgx run/test
Other Changes
- minor documentation updates
- Add
libpq/auth.h
to bindings generation - 82461d1: if a non-main thread tries to call a function under
#[pg_guard]
, we now panic - 415b83e: extern "C" functions don't need #[no_mangle] unless it's _PG_init
- 40010be: add a function to PgRelation to open a relation with a share lock
Please Sponsor Our Work
Please consider sponsoring our work on pgx
through GitHub's Sponsorship Program. Sponsorship keeps this project alive and moving forward. Thank you!