0.4.1
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)]
onpgx::Aggregate
's memory context swapping code. (#487) cargo pgx status
will by default show the status of allpgx
managed PostgreSQLs, instead of the default if one exists in theCargo.toml
. (#505)cargo pgx schema
was producing color codes outside of the normalxterm-256color
codes, this produced unpleasant output on some terminals (notably Mac'sterminal.app
). When the output ofcargo pgx schema
is a TTY it will now producexterm-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 acargo
related error, we don't report a full eyre error, we just report the cargo errors. (#491) - Documentation fixes. (#496)