-
-
Notifications
You must be signed in to change notification settings - Fork 251
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
#[pg_guard] cleanup #526
Merged
Merged
#[pg_guard] cleanup #526
Commits on Apr 2, 2022
-
Centralize the code #[pg_guard] generates.
Add a new function to pgx-pg-sys, `create::submodules::postgres_function_guard()` and teach the `#[pg_guard]` macro to use that function instead of duplicating all the sigsetjmp code for every function.
Configuration menu - View commit details
-
Copy full SHA for a28f722 - Browse repository at this point
Copy the full SHA a28f722View commit details
Commits on Apr 3, 2022
-
relocate rewriter.rs into pgx-utils so that we can use the `PgGuardRe…
…writer` from build.rs. Also eliminate a bit of cloning from build.rs as well. This drastically improves pgx-pg-sys build times. On my machine, a clean build of the crate goes from ~36s to ~18s. And subsequent rebuilds (where build.rs doesn't run) goes from ~8s to ~2.4s
Configuration menu - View commit details
-
Copy full SHA for e4af108 - Browse repository at this point
Copy the full SHA e4af108View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa57397 - Browse repository at this point
Copy the full SHA fa57397View commit details -
teach pgx that its
build.rs
binary should be compiled with optimiza……tions, which decreases subsequent pgx-pg-sys rebuilds (where build.rs needs to run) by ~50%.
Configuration menu - View commit details
-
Copy full SHA for 738fe8b - Browse repository at this point
Copy the full SHA 738fe8bView commit details
Commits on Apr 4, 2022
-
Configuration menu - View commit details
-
Copy full SHA for aafc8f2 - Browse repository at this point
Copy the full SHA aafc8f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8021953 - Browse repository at this point
Copy the full SHA 8021953View commit details -
Configuration menu - View commit details
-
Copy full SHA for 825bc79 - Browse repository at this point
Copy the full SHA 825bc79View commit details
Commits on Apr 5, 2022
-
Configuration menu - View commit details
-
Copy full SHA for eec3cc6 - Browse repository at this point
Copy the full SHA eec3cc6View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.