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

Allow real borrow-checking of #[pg_extern] fn lifetimes #1724

Conversation

workingjubilee
Copy link
Member

This doesn't finish fixing things, but it introduces a skeleton for actually trying to impose borrow-checking further on the rest of pgrx's code. This small refactor is effectively a chokepoint that all future code has to build from.

Copy link
Contributor

@NotGyro NotGyro left a comment

Choose a reason for hiding this comment

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

Looks good! This is a completion of a lot of the work required to get lifetimes for an FcInfo wrapper plumbed through to everywhere they need to go, and I'm seeing some safety/soundness improvements in there as well.

@workingjubilee workingjubilee merged commit e2898e1 into pgcentralfoundation:develop May 30, 2024
12 checks passed
@workingjubilee workingjubilee deleted the introduce-fully-typecheckable-lifetimes branch May 30, 2024 00:13
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.

2 participants