Skip to content

sqlc_scanner: allow digits in identifiers - #1

Merged
asabil merged 1 commit into
mainfrom
scanner-allow-digits-in-identifiers
Oct 10, 2026
Merged

asabil merged 1 commit into
mainfrom
scanner-allow-digits-in-identifiers

Conversation

@asabil

@asabil asabil commented Oct 10, 2026

Copy link
Copy Markdown
Contributor

Identifiers could only contain lowercase letters and underscores, so a parameter type such as float8[] or a name such as :score_v2 failed with invalid_character.

A digit is now accepted after the first character. An identifier still has to start with a lowercase letter.

Scanner tests cover a parameter with a float8[] type and an identifier that starts with a digit.

@asabil
asabil merged commit 182fdeb into main Oct 10, 2026
2 checks passed
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