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 hex and binary numeric literals are not recognized correctly #4354

Open
be-happy4 opened this issue Dec 11, 2024 · 0 comments
Open

Comments

@be-happy4
Copy link
Contributor

0x10 and 0b10 should be recognized as a hex literal and a binary literal respectively. But they are 0 and a identifier now, which is incorrect. Maybe 010 should be a octal literal. But it seems to have been done right by accident.

image

image

be-happy4 added a commit to be-happy4/grammars-v4 that referenced this issue Dec 11, 2024
be-happy4 added a commit to be-happy4/grammars-v4 that referenced this issue Dec 11, 2024
be-happy4 added a commit to be-happy4/grammars-v4 that referenced this issue Dec 12, 2024
be-happy4 added a commit to be-happy4/grammars-v4 that referenced this issue Dec 12, 2024
be-happy4 added a commit to be-happy4/grammars-v4 that referenced this issue Dec 12, 2024
be-happy4 added a commit to be-happy4/grammars-v4 that referenced this issue Dec 12, 2024
be-happy4 added a commit to be-happy4/grammars-v4 that referenced this issue Dec 12, 2024
be-happy4 added a commit to be-happy4/grammars-v4 that referenced this issue Dec 12, 2024
be-happy4 added a commit to be-happy4/grammars-v4 that referenced this issue Dec 13, 2024
teverett pushed a commit that referenced this issue Dec 19, 2024
* [postgresql] Fix for #4354 (#4354)

* [postgresql] Add test cases (#4354)

* [postgresql] Add .tree file (#4354)
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

No branches or pull requests

1 participant