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

[postgresql] Fix for #4300 #4301

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

[postgresql] Fix for #4300 #4301

wants to merge 1 commit into from

Conversation

kaby76
Copy link
Contributor

@kaby76 kaby76 commented Nov 1, 2024

This PR fixes a grammar ambiguity introduced with #3008.

As I point out in the write-up for #4300, from_list is defined with two alts that overlap. The two alts did not fix anything. It simply added to the ambiguity of the grammar and made the parser perform worse.

I discovered this using trparse --ambig.

@kaby76 kaby76 changed the title [postgresql] Fix #4300 [postgresql] Fix for #4300 Nov 1, 2024
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.

1 participant