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

Upgrade pganalyze/pg_query_go and other dependencies #38

Merged
merged 3 commits into from
Jun 3, 2024

Conversation

oschwald
Copy link
Contributor

  • Upgrade to pg_query_go v5
  • Update other dependencies

4.2.0 does not work with newer glibc versions, including the version in
Ubuntu 24.04. The problem was fixed in
pganalyze/pg_query_go#95. Rather than just
upgrading to 4.2.3, I thought it would make sense to switch to v5 for
Postgres 16 support.
@houqp
Copy link
Owner

houqp commented May 31, 2024

@oschwald looks like the test is failing

The parsing errors have significantly more state now and comparing the whole error is fragile.
@oschwald
Copy link
Contributor Author

Thanks. I fixed that by only comparing the error strings, which seems less fragile given the state in *parser.Error now. It would be a bit nicer to update the test cases to not unnecessarily create an error, but I wanted to make sure that this approach was acceptable before doing that.

@houqp houqp merged commit 5f05ce8 into houqp:master Jun 3, 2024
1 check passed
@houqp
Copy link
Owner

houqp commented Jun 3, 2024

That sounds good to me, thanks @oschwald 👍

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