github pgcentralfoundation/pgrx v0.4.1
0.4.1

latest releases: v0.11.4, v0.12.0-alpha.1, v0.12.0-alpha.0...
2 years ago

This release includes UX improvements with cargo pgx schema, and performance improvements for Internal and Aggregate.

Upgrading

Please make sure to run cargo install cargo-pgx --version 0.4.1 and update all the pgx extension Cargo.toml's pgx* versions to 0.4.1.

What's Changed

  • Internal::get_or_insert_default, and similar functions were doing some unnecessary allocations. Removing them improves the speed of these functions significantly. (#488)
  • We now #[inline(always)] on pgx::Aggregate's memory context swapping code. (#487)
  • cargo pgx status will by default show the status of all pgx managed PostgreSQLs, instead of the default if one exists in the Cargo.toml. (#505)
  • cargo pgx schema was producing color codes outside of the normal xterm-256color codes, this produced unpleasant output on some terminals (notably Mac's terminal.app). When the output of cargo pgx schema is a TTY it will now produce xterm-256color style codes, and use the user's terminal colors. This removes the need to specify if the user was using a light theme. (#507)
  • If cargo pgx test experiences a cargo related error, we don't report a full eyre error, we just report the cargo errors. (#491)
  • Documentation fixes. (#496)

Don't miss a new pgrx release

NewReleases is sending notifications on new releases.