Skip to content

Upgrade pg_query_go to v6#52

Merged
exAspArk merged 1 commit intoBemiHQ:mainfrom
ankane:pg_query_go
Aug 10, 2025
Merged

Upgrade pg_query_go to v6#52
exAspArk merged 1 commit intoBemiHQ:mainfrom
ankane:pg_query_go

Conversation

@ankane
Copy link
Copy Markdown
Contributor

@ankane ankane commented Aug 1, 2025

Hi, thanks for BemiDB!

Building on macOS 15.5 currently fails with:

# github.com/pganalyze/pg_query_go/v5/parser
src_port_snprintf.c:374:1: error: static declaration of 'strchrnul' follows non-static declaration
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_string.h:198:9: note: previous declaration is here
src_port_snprintf.c:438:27: warning: 'strchrnul' is only available on macOS 15.4 or newer [-Wunguarded-availability-new]
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_string.h:198:9: note: 'strchrnul' has been marked as being introduced in macOS 15.4 here, but the deployment target is macOS 15.0.0
src_port_snprintf.c:438:27: note: enclose 'strchrnul' in a __builtin_available check to silence this warning

This is fixed in pg_query_go v6.1.0: pganalyze/pg_query_go#132

@exAspArk
Copy link
Copy Markdown
Member

Thank you for submitting the PR, @ankane! 🎉

P.S. I'm a big fan of your Ruby gems ❤️

@exAspArk exAspArk merged commit fe9e3e3 into BemiHQ:main Aug 10, 2025
1 check passed
@ankane
Copy link
Copy Markdown
Contributor Author

ankane commented Aug 10, 2025

No problem, thanks @exAspArk!

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