v0.12.5
Welcome to pgrx v0.12.5. This is a big minor release because it brings support for Postgres v17.0, released on Sept 26th, 2024. Much thanks to the Postgres folks for all their hard work! We'd have to do this for MySQL otherwise!
To upgrade to pgrx v0.12.5, do cargo install cargo-pgrx --version 0.12.5 --locked
. Once installed you can run cargo pgrx upgrade
in the root of all your extension crates to update their dependencies.
New Features
- Move from pg17rc1 to pg17ga by @eeeebbbbrrrr in #1881
pgrx now supports Postgres v17.0! You'll want to run another cargo pgrx init
to get the latest release of all Postgres versions, including 17.
- Stable
cargo pgrx schema
output by @eeeebbbbrrrr in #1867
diff
s between schema versions should be a lot prettier now as cargo pgrx schema
should be repeatable from run-to-run and otherwise output in a predictable order.
Regular and cross-compiles should be more reliable now thanks to using cc
to compile the tiny bit of C code pgrx includes.
- Allowed
CStr
to be used as SPI commands by @YohDeadfall in #1864
Made with love to those who don't like allocations!
Bug Fixes
- Fixed conversion of i64 and f64 to datums on 32-bit machines by @YohDeadfall in #1859
More Postgres Headers
#include "commands/extension.h"
by @eeeebbbbrrrr in #1880#include "commands/prepare.h"
by @kysshsy in #1873#include "parser/parse_collate.h"
by @eeeebbbbrrrr in #1880#include "parser/parse_relation.h"
by @eeeebbbbrrrr in #1872
Docs & Examples
- Updated macOS instructions by @ccleve in #1869
- Add an example of a WAL decoder by @daamien in #1845
- Fixed a typo in the FFI docs by @YohDeadfall in #1863
Code Cleanup
- Address elided lifetimes lints by @workingjubilee in #1861
- Removed not used sigsetjmp by @YohDeadfall in #1862
New Contributors
Full Changelog: v0.12.4...v0.12.5