-
-
Notifications
You must be signed in to change notification settings - Fork 300
Add postmaster related api #1237
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
Merged
workingjubilee
merged 1 commit into
pgcentralfoundation:master
from
JelteF:add-postmaster-header
Jul 31, 2023
Merged
Add postmaster related api #1237
workingjubilee
merged 1 commit into
pgcentralfoundation:master
from
JelteF:add-postmaster-header
Jul 31, 2023
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
For an extension I'm writing I want to connect back to Postgres. So I need to know what port and address Postgres is running on. The `postmaster.h` header contains that information, so this starts including that header in `pgrx_pg_sys`.
Member
|
Sure, thanks! |
Contributor
Author
|
Oh sorry, I realized I opened this PR against master... |
JelteF
added a commit
to JelteF/pgrx
that referenced
this pull request
Aug 1, 2023
For an extension I'm writing I want to connect back to Postgres. So I need to know what port and address Postgres is running on. The `postmaster.h` header contains that information, so this starts including that header in `pgrx_pg_sys`.
Contributor
|
Guess what? We’re making “develop” the default branch and are just getting rid of all this confusion. We get caught by it too! |
eeeebbbbrrrr
pushed a commit
that referenced
this pull request
Aug 1, 2023
For an extension I'm writing I want to connect back to Postgres. So I need to know what port and address Postgres is running on. The `postmaster.h` header contains that information, so this starts including that header in `pgrx_pg_sys`.
eeeebbbbrrrr
added a commit
that referenced
this pull request
Aug 1, 2023
This is the third beta in the pgrx v0.10.x series. It contains a number of soundness fixes, better error handling, more testing, and other general code cleanup. ## Soundness Issues * `AnyNumeric` is no longer backed by Postgres-allocated memory by @eeeebbbbrrrr in #1216 ## CI and general Testing Support * Testing help by @eeeebbbbrrrr in #1203 * Type testability cleanup by @eeeebbbbrrrr in #1204 * Type roundtrip tests by @eeeebbbbrrrr in #1185 * Stop SpiClient soundness from regressing by @workingjubilee in #1214 * Initial valgrind support by @thomcc in #1218 * Add a env flag that can be set to skip `#[pg_test]`-generated tests. by @thomcc in #1239 * Ignores UI tests for MUSL environments by @BradyBonnette in #1235 * Changes GHA workflows to use new upgraded runners by @BradyBonnette in #1225 ## General Improvements * Add support for handling SIGINT and SIGCHLD from bgworker by @JelteF in #1229 * Fix issue #1076: Properly handle dependency graph of `Result<T, _>` by @eeeebbbbrrrr in #1241 ## Improved Error Reporting * Try to smartly propagate fs errors by @workingjubilee in #1186 * Addresses cargo-pgrx error reporting by @BradyBonnette in #1238 * Cleanup the error when cargo-pgrx version doesn't match Cargo.toml by @eeeebbbbrrrr in #1240 ## Additional Postgres Headers * Add operator and cache related api by @VoVAllen in #1242 * Add foreign table headers by @workingjubilee in #1226 * Add postmaster related api by @JelteF in #1237 ## Internal Code Organization * Modularize pgrx::spi by @workingjubilee in #1219 * Modularize the interior of pgrx-pg-sys by @workingjubilee in #1227 ## Postgres 16-motivated Changes * Add a workaround for the pg16/homebrew/icu4c situation by @thomcc in #1206 ## General Project Stuff * Add security policy by @johnrballard in #1207 ## New Contributors * @johnrballard made their first contribution in #1207 * @VoVAllen made their first contribution in #1242 **Full Changelog**: v0.10.0-beta.1...v0.10.0-beta.2
usamoi
pushed a commit
to tensorchord/pgrx
that referenced
this pull request
Mar 6, 2025
For an extension I'm writing I want to connect back to Postgres. So I need to know what port and address Postgres is running on. The `postmaster.h` header contains that information, so this starts including that header in `pgrx_pg_sys`.
usamoi
pushed a commit
to tensorchord/pgrx
that referenced
this pull request
Mar 6, 2025
This is the third beta in the pgrx v0.10.x series. It contains a number of soundness fixes, better error handling, more testing, and other general code cleanup. ## Soundness Issues * `AnyNumeric` is no longer backed by Postgres-allocated memory by @eeeebbbbrrrr in pgcentralfoundation#1216 ## CI and general Testing Support * Testing help by @eeeebbbbrrrr in pgcentralfoundation#1203 * Type testability cleanup by @eeeebbbbrrrr in pgcentralfoundation#1204 * Type roundtrip tests by @eeeebbbbrrrr in pgcentralfoundation#1185 * Stop SpiClient soundness from regressing by @workingjubilee in pgcentralfoundation#1214 * Initial valgrind support by @thomcc in pgcentralfoundation#1218 * Add a env flag that can be set to skip `#[pg_test]`-generated tests. by @thomcc in pgcentralfoundation#1239 * Ignores UI tests for MUSL environments by @BradyBonnette in pgcentralfoundation#1235 * Changes GHA workflows to use new upgraded runners by @BradyBonnette in pgcentralfoundation#1225 ## General Improvements * Add support for handling SIGINT and SIGCHLD from bgworker by @JelteF in pgcentralfoundation#1229 * Fix issue pgcentralfoundation#1076: Properly handle dependency graph of `Result<T, _>` by @eeeebbbbrrrr in pgcentralfoundation#1241 ## Improved Error Reporting * Try to smartly propagate fs errors by @workingjubilee in pgcentralfoundation#1186 * Addresses cargo-pgrx error reporting by @BradyBonnette in pgcentralfoundation#1238 * Cleanup the error when cargo-pgrx version doesn't match Cargo.toml by @eeeebbbbrrrr in pgcentralfoundation#1240 ## Additional Postgres Headers * Add operator and cache related api by @VoVAllen in pgcentralfoundation#1242 * Add foreign table headers by @workingjubilee in pgcentralfoundation#1226 * Add postmaster related api by @JelteF in pgcentralfoundation#1237 ## Internal Code Organization * Modularize pgrx::spi by @workingjubilee in pgcentralfoundation#1219 * Modularize the interior of pgrx-pg-sys by @workingjubilee in pgcentralfoundation#1227 ## Postgres 16-motivated Changes * Add a workaround for the pg16/homebrew/icu4c situation by @thomcc in pgcentralfoundation#1206 ## General Project Stuff * Add security policy by @johnrballard in pgcentralfoundation#1207 ## New Contributors * @johnrballard made their first contribution in pgcentralfoundation#1207 * @VoVAllen made their first contribution in pgcentralfoundation#1242 **Full Changelog**: pgcentralfoundation/pgrx@v0.10.0-beta.1...v0.10.0-beta.2
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
For an extension I'm writing I want to connect back to Postgres. So I
need to know what port and address Postgres is running on. The
postmaster.hheader contains that information, so this startsincluding that header in
pgrx_pg_sys.