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

release-19.2: cli, sql: allow usernames to start with digits #42989

Merged
merged 1 commit into from
Dec 5, 2019
Merged

release-19.2: cli, sql: allow usernames to start with digits #42989

merged 1 commit into from
Dec 5, 2019

Conversation

rolandcrosby
Copy link

Backport of #42464 to unblock Active Directory testing.

Previousy, client usernames could only be valid identifiers, with the
first character allowed being either a letter of underscore.

This was an arbitrary limitation; in fact, production systems
where usernames are just numbers (all digits) are common.

This patch changes the limitation to allow CockroachDB usernames to
start with digits.

Release note (general change): Client usernames can now be defined to
start with a digit; in particular, all-digit usernames are now
permitted.

Previousy, client usernames could only be valid identifiers, with the
first character allowed being either a letter of underscore.

This was an arbitrary limitation; in fact, production systems
where usernames are just numbers (all digits) are common.

This patch changes the limitation to allow CockroachDB usernames to
start with digits.

Release note (general change): Client usernames can now be defined to
start with a digit; in particular, all-digit usernames are now
permitted.
@rolandcrosby rolandcrosby requested a review from a team as a code owner December 5, 2019 16:27
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@jordanlewis
Copy link
Member

Hey @rolandcrosby, I'm sure you're already aware, but we discussed in SIG today that this needs to get into 19.2.2 which means it needs to merge today or tomorrow.

@rolandcrosby rolandcrosby merged commit 632864c into cockroachdb:release-19.2 Dec 5, 2019
@rolandcrosby rolandcrosby deleted the backport19.2-42464 branch December 5, 2019 22:12
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.

5 participants