Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare 0.9.7 #1182

Merged
merged 5 commits into from
Jun 29, 2023
Merged

Conversation

eeeebbbbrrrr
Copy link
Contributor

@eeeebbbbrrrr eeeebbbbrrrr commented Jun 29, 2023

This is pgrx v0.9.7. It fixes an important bug when working with arrays that have leading NULL elements. Such arrays could lead to spurious Postgres errors or even crashes when iterating.

Please upgrade your pgrx projects as soon as you can, and making sure to update your crate dependencies and to cargo install cargo-pgrx --locked.

What's Changed

PR #1180 - Arrays with leading NULL values are now properly advanced during iteration.

Big thanks to @workingjubilee for some late-night debugging!

Full Changelog: v0.9.6...v0.9.7

NOTE: This cherry-picks the individual commits from PR #1180, updates the version to 0.9.7, and upgrades dependencies. It needs to go straight to master, after which I'll tag/publish the release and merge back into develop.

I'm avoiding releasing all of develop because it contains the 16beta1 support and that doesn't need to go out as part of this.

eeeebbbbrrrr and others added 5 commits June 29, 2023 09:58
Array iteration was using the wrong tempo for advancing pointers,
so arrays with leading nulls sometimes would advance too far.
Copy link
Contributor

@thomcc thomcc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@eeeebbbbrrrr eeeebbbbrrrr merged commit f048ce9 into pgcentralfoundation:master Jun 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants