-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
67955: roachtest: remove passing test from ruby-pg blocklist r=RichardJCai a=rafiss fixes #67912 Release note: None 68001: sql/parser: add syntax for ALTER ROLE ... SET r=RichardJCai a=rafiss touches #21151 Note that the telemetry re-parsing logic does not work. This is consistent with the existing ALTER ROLE statement, and should be fixed separately. Release note (sql change): Add syntax for `ALTER ROLE ... SET` statements. The business logic for these statements is not implemented yet, but a later commit will add it. The following forms are supported: - ALTER ROLE { name | ALL } [ IN DATABASE database_name ] SET var { TO | = } { value | DEFAULT } - ALTER ROLE { name | ALL } [ IN DATABASE database_name ] RESET var - ALTER ROLE { name | ALL } [ IN DATABASE database_name ] RESET ALL As with other statements, the keywords ROLE and USER are interchangeable. This matches the PostgreSQL syntax: https://www.postgresql.org/docs/13/sql-alterrole.html Co-authored-by: Rafi Shamim <[email protected]>
- Loading branch information
Showing
19 changed files
with
454 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
set_rest ::= | ||
generic_set |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
set_rest_more ::= | ||
generic_set | ||
set_rest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
preparable_set_stmt ::= | ||
'SET' ( 'SESSION' | ) var_name '=' var_value ( ( ',' var_value ) )* | ||
| 'SET' ( 'SESSION' | ) var_name 'TO' var_value ( ( ',' var_value ) )* | ||
'SET' 'SESSION' set_rest | ||
| 'SET' set_rest | ||
| set_csetting_stmt | ||
| use_stmt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.