@@ -6885,6 +6885,12 @@ pub enum GrantObjects {
68856885 AllSequencesInSchema { schemas : Vec < ObjectName > } ,
68866886 /// Grant privileges on `ALL TABLES IN SCHEMA <schema_name> [, ...]`
68876887 AllTablesInSchema { schemas : Vec < ObjectName > } ,
6888+ /// Grant privileges on `FUTURE SCHEMAS IN DATABASE <database_name> [, ...]`
6889+ FutureSchemasInDatabase { databases : Vec < ObjectName > } ,
6890+ /// Grant privileges on `FUTURE TABLES IN SCHEMA <schema_name> [, ...]`
6891+ FutureTablesInSchema { schemas : Vec < ObjectName > } ,
6892+ /// Grant privileges on `FUTURE VIEWS IN SCHEMA <schema_name> [, ...]`
6893+ FutureViewsInSchema { schemas : Vec < ObjectName > } ,
68886894 /// Grant privileges on specific databases
68896895 Databases ( Vec < ObjectName > ) ,
68906896 /// Grant privileges on specific schemas
@@ -6953,6 +6959,27 @@ impl fmt::Display for GrantObjects {
69536959 display_comma_separated( schemas)
69546960 )
69556961 }
6962+ GrantObjects :: FutureSchemasInDatabase { databases } => {
6963+ write ! (
6964+ f,
6965+ "FUTURE SCHEMAS IN DATABASE {}" ,
6966+ display_comma_separated( databases)
6967+ )
6968+ }
6969+ GrantObjects :: FutureTablesInSchema { schemas } => {
6970+ write ! (
6971+ f,
6972+ "FUTURE TABLES IN SCHEMA {}" ,
6973+ display_comma_separated( schemas)
6974+ )
6975+ }
6976+ GrantObjects :: FutureViewsInSchema { schemas } => {
6977+ write ! (
6978+ f,
6979+ "FUTURE VIEWS IN SCHEMA {}" ,
6980+ display_comma_separated( schemas)
6981+ )
6982+ }
69566983 GrantObjects :: ResourceMonitors ( objects) => {
69576984 write ! ( f, "RESOURCE MONITOR {}" , display_comma_separated( objects) )
69586985 }
0 commit comments