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

Add postmaster related api #1237

Merged

Conversation

JelteF
Copy link
Contributor

@JelteF JelteF commented Jul 28, 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.

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`.
@workingjubilee
Copy link
Member

Sure, thanks!

@workingjubilee workingjubilee merged commit 5c68169 into pgcentralfoundation:master Jul 31, 2023
@JelteF
Copy link
Contributor Author

JelteF commented Aug 1, 2023

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`.
@eeeebbbbrrrr
Copy link
Contributor

eeeebbbbrrrr commented Aug 1, 2023

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants