@@ -6920,6 +6920,12 @@ pub enum GrantObjects {
69206920 AllSequencesInSchema { schemas : Vec < ObjectName > } ,
69216921 /// Grant privileges on `ALL TABLES IN SCHEMA <schema_name> [, ...]`
69226922 AllTablesInSchema { schemas : Vec < ObjectName > } ,
6923+ /// Grant privileges on `FUTURE SCHEMAS IN DATABASE <database_name> [, ...]`
6924+ FutureSchemasInDatabase { databases : Vec < ObjectName > } ,
6925+ /// Grant privileges on `FUTURE TABLES IN SCHEMA <schema_name> [, ...]`
6926+ FutureTablesInSchema { schemas : Vec < ObjectName > } ,
6927+ /// Grant privileges on `FUTURE VIEWS IN SCHEMA <schema_name> [, ...]`
6928+ FutureViewsInSchema { schemas : Vec < ObjectName > } ,
69236929 /// Grant privileges on specific databases
69246930 Databases ( Vec < ObjectName > ) ,
69256931 /// Grant privileges on specific schemas
@@ -6988,6 +6994,27 @@ impl fmt::Display for GrantObjects {
69886994 display_comma_separated( schemas)
69896995 )
69906996 }
6997+ GrantObjects :: FutureSchemasInDatabase { databases } => {
6998+ write ! (
6999+ f,
7000+ "FUTURE SCHEMAS IN DATABASE {}" ,
7001+ display_comma_separated( databases)
7002+ )
7003+ }
7004+ GrantObjects :: FutureTablesInSchema { schemas } => {
7005+ write ! (
7006+ f,
7007+ "FUTURE TABLES IN SCHEMA {}" ,
7008+ display_comma_separated( schemas)
7009+ )
7010+ }
7011+ GrantObjects :: FutureViewsInSchema { schemas } => {
7012+ write ! (
7013+ f,
7014+ "FUTURE VIEWS IN SCHEMA {}" ,
7015+ display_comma_separated( schemas)
7016+ )
7017+ }
69917018 GrantObjects :: ResourceMonitors ( objects) => {
69927019 write ! ( f, "RESOURCE MONITOR {}" , display_comma_separated( objects) )
69937020 }
0 commit comments