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

Update Postgres to 13.8 and backport bc7a40b4 to fix new Xcode build #156

Merged
merged 1 commit into from
Nov 2, 2022

Conversation

lfittl
Copy link
Member

@lfittl lfittl commented Nov 2, 2022

See https://postgr.es/m/1803927.1665938411@sss.pgh.pa.us for discussion of the Xcode build issue. Fixed in bc7a40b4, which is on REL_13_STABLE but not yet in an official Postgres release.

In passing this also fixes an extract source script issue with newer clang versions.

Fixes pganalyze/pg_query#263

@lfittl lfittl force-pushed the 13-latest-update-to-13-8-with-xcode-fix branch from 2095eff to e636bd7 Compare November 2, 2022 23:28
See https://postgr.es/m/1803927.1665938411@sss.pgh.pa.us for discussion
of the Xcode build issue. Fixed in bc7a40b4, which is on REL_13_STABLE but
not yet in an official Postgres release.

In passing this also fixes a extract source issue with newer clang
versions.
@lfittl lfittl force-pushed the 13-latest-update-to-13-8-with-xcode-fix branch from e636bd7 to d8aa3cc Compare November 2, 2022 23:33
# There seems to be a bug here on modern Clang versions where the
# cursor kind gets modified once we call "child_cursor.definition"
# - thus we make a copy ahead of calling that, for later use
child_cursor_kind = child_cursor.kind

Choose a reason for hiding this comment

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

Oof. Is this worth reporting?

Copy link
Member Author

Choose a reason for hiding this comment

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

Maybe? I think the issue here is likely in the Ruby binding, which is semi-maintained.

Its a bit of a time sink to reproduce this, so I'll punt on this for now.

@lfittl lfittl merged commit 662539d into 13-latest Nov 2, 2022
fantix added a commit to edgedb/edgedb that referenced this pull request Nov 14, 2022
This fixes a build failure on macOS with SDK 13.0, refs:

* postgres/postgres@717ec1a
* pganalyze/libpg_query#156
fantix added a commit to edgedb/edgedb that referenced this pull request Nov 14, 2022
This fixes a build failure on macOS with SDK 13.0, refs:

* postgres/postgres@717ec1a
* pganalyze/libpg_query#156
@lfittl lfittl deleted the 13-latest-update-to-13-8-with-xcode-fix branch January 1, 2024 20:01
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.

Unable to build with macOS SDK 13.0
2 participants