-
Notifications
You must be signed in to change notification settings - Fork 3.9k
experimental_enable_hash_sharded_indexes takes incorrect values #46161
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
Labels
A-sql-pgcompat
Semantic compatibility with PostgreSQL
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
Comments
This seems to affect |
Actually, this is the case with nearly all of our cluster setttings! |
rohany
added a commit
to rohany/cockroach
that referenced
this issue
Mar 16, 2020
Fixes cockroachdb#46161. Release justification: bug fix Release note (bug fix): This PR fixes a bug where various session variables whose value would display as "on" or "off" could not be set to the values "on" or "off", only true or false.
Ah. You're right! |
rohany
added a commit
to rohany/cockroach
that referenced
this issue
Mar 17, 2020
Session variables were incorrectly erroring out on string inputs even though string values of "on" and "off" are accepted. Fixes cockroachdb#46161. Release justification: bug fix Release note (bug fix): This PR fixes a bug where various session variables whose value would display as "on" or "off" could not be set to the values "on" or "off", only true or false.
rohany
added a commit
to rohany/cockroach
that referenced
this issue
Mar 17, 2020
Session variables were incorrectly erroring out on string inputs even though string values of "on" and "off" are accepted. Fixes cockroachdb#46161. Release justification: bug fix Release note (bug fix): This PR fixes a bug where various session variables whose value would display as "on" or "off" could not be set to the values "on" or "off", only true or false.
craig bot
pushed a commit
that referenced
this issue
Mar 17, 2020
45827: sql: make SHOW USERS/SHOW ROLES match psql \du command. r=knz a=RichardJCai Release note (sql change): Make SHOW USERS and SHOW ROLES the same since USERS=ROLES. Make SHOW USERS and SHOW ROLES match psql \du command. SHOW ROLES displays three columns, username, options, member_of. Release justification: Low risk change, only changing underlying select command for SHOW ROLES/USERS. 46111: opt: support EXPLAIN BUNDLE as a prepared statement r=RaduBerinde a=RaduBerinde Some clients / drivers might issue EXPLAIN BUNDLE with the parse/bind/exec protocol (e.g. DBeaver). This change also fixes an error message in the optimizer - it was left over from when we would fall back on HP; now this condition is an internal error. Fixes #46020. Release note (bug fix): EXPLAIN BUNDLE now works when the client driver prepares the statement (as is the case with DBeaver). Release justification: Bug fixes and low-risk updates to new functionality. 46163: sql: fix bug where some session vars couldn't be set to "on" or "off" r=rohany a=rohany Session variables were incorrectly erroring out on string inputs even though string values of "on" and "off" are accepted. Fixes #46161. Release justification: bug fix Release note (bug fix): This PR fixes a bug where various session variables whose value would display as "on" or "off" could not be set to the values "on" or "off", only true or false. Co-authored-by: richardjcai <[email protected]> Co-authored-by: Radu Berinde <[email protected]> Co-authored-by: Rohan Yadav <[email protected]>
rohany
added a commit
to rohany/cockroach
that referenced
this issue
Mar 18, 2020
Session variables were incorrectly erroring out on string inputs even though string values of "on" and "off" are accepted. Fixes cockroachdb#46161. Release justification: bug fix Release note (bug fix): This PR fixes a bug where various session variables whose value would display as "on" or "off" could not be set to the values "on" or "off", only true or false.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-sql-pgcompat
Semantic compatibility with PostgreSQL
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
Describe the problem
The
experimental_enable_hash_sharded_indexes
session variable only takes boolean values. When you settrue
, it showson
, and when you setfalse
, it showsoff
.You should be able to set
on
andoff
directly.Environment:
The text was updated successfully, but these errors were encountered: