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

Parse failure on "IF(cond)THEN" #1

Open
kputnam opened this issue Jan 14, 2011 · 0 comments
Open

Parse failure on "IF(cond)THEN" #1

kputnam opened this issue Jan 14, 2011 · 0 comments
Assignees

Comments

@kputnam
Copy link
Owner

kputnam commented Jan 14, 2011

The parser incorrectly requires a space before THEN. But PostgreSQL accepts IF(cond)THEN, because there's a parenthesis to separate the keyword.

The grammar node that needs to change is expressiontUntilThen. There are probably similar bugs in the expressiontUntil... nodes.

@ghost ghost assigned kputnam Aug 13, 2011
kputnam pushed a commit that referenced this issue Oct 30, 2016
Merge latest mainline master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant