@@ -6949,6 +6949,12 @@ pub enum GrantObjects {
69496949 AllSequencesInSchema { schemas : Vec < ObjectName > } ,
69506950 /// Grant privileges on `ALL TABLES IN SCHEMA <schema_name> [, ...]`
69516951 AllTablesInSchema { schemas : Vec < ObjectName > } ,
6952+ /// Grant privileges on `FUTURE SCHEMAS IN DATABASE <database_name> [, ...]`
6953+ FutureSchemasInDatabase { databases : Vec < ObjectName > } ,
6954+ /// Grant privileges on `FUTURE TABLES IN SCHEMA <schema_name> [, ...]`
6955+ FutureTablesInSchema { schemas : Vec < ObjectName > } ,
6956+ /// Grant privileges on `FUTURE VIEWS IN SCHEMA <schema_name> [, ...]`
6957+ FutureViewsInSchema { schemas : Vec < ObjectName > } ,
69526958 /// Grant privileges on specific databases
69536959 Databases ( Vec < ObjectName > ) ,
69546960 /// Grant privileges on specific schemas
@@ -7017,6 +7023,27 @@ impl fmt::Display for GrantObjects {
70177023 display_comma_separated( schemas)
70187024 )
70197025 }
7026+ GrantObjects :: FutureSchemasInDatabase { databases } => {
7027+ write ! (
7028+ f,
7029+ "FUTURE SCHEMAS IN DATABASE {}" ,
7030+ display_comma_separated( databases)
7031+ )
7032+ }
7033+ GrantObjects :: FutureTablesInSchema { schemas } => {
7034+ write ! (
7035+ f,
7036+ "FUTURE TABLES IN SCHEMA {}" ,
7037+ display_comma_separated( schemas)
7038+ )
7039+ }
7040+ GrantObjects :: FutureViewsInSchema { schemas } => {
7041+ write ! (
7042+ f,
7043+ "FUTURE VIEWS IN SCHEMA {}" ,
7044+ display_comma_separated( schemas)
7045+ )
7046+ }
70207047 GrantObjects :: ResourceMonitors ( objects) => {
70217048 write ! ( f, "RESOURCE MONITOR {}" , display_comma_separated( objects) )
70227049 }
0 commit comments