@@ -6930,12 +6930,22 @@ pub enum GrantObjects {
69306930 AllTablesInSchema { schemas : Vec < ObjectName > } ,
69316931 /// Grant privileges on `ALL VIEWS IN SCHEMA <schema_name> [, ...]`
69326932 AllViewsInSchema { schemas : Vec < ObjectName > } ,
6933+ /// Grant privileges on `ALL MATERIALIZED VIEWS IN SCHEMA <schema_name> [, ...]`
6934+ AllMaterializedViewsInSchema { schemas : Vec < ObjectName > } ,
6935+ /// Grant privileges on `ALL EXTERNAL TABLES IN SCHEMA <schema_name> [, ...]`
6936+ AllExternalTablesInSchema { schemas : Vec < ObjectName > } ,
69336937 /// Grant privileges on `FUTURE SCHEMAS IN DATABASE <database_name> [, ...]`
69346938 FutureSchemasInDatabase { databases : Vec < ObjectName > } ,
69356939 /// Grant privileges on `FUTURE TABLES IN SCHEMA <schema_name> [, ...]`
69366940 FutureTablesInSchema { schemas : Vec < ObjectName > } ,
69376941 /// Grant privileges on `FUTURE VIEWS IN SCHEMA <schema_name> [, ...]`
69386942 FutureViewsInSchema { schemas : Vec < ObjectName > } ,
6943+ /// Grant privileges on `FUTURE EXTERNAL TABLES IN SCHEMA <schema_name> [, ...]`
6944+ FutureExternalTablesInSchema { schemas : Vec < ObjectName > } ,
6945+ /// Grant privileges on `FUTURE MATERIALIZED VIEWS IN SCHEMA <schema_name> [, ...]`
6946+ FutureMaterializedViewsInSchema { schemas : Vec < ObjectName > } ,
6947+ /// Grant privileges on `FUTURE SEQUENCES IN SCHEMA <schema_name> [, ...]`
6948+ FutureSequencesInSchema { schemas : Vec < ObjectName > } ,
69396949 /// Grant privileges on specific databases
69406950 Databases ( Vec < ObjectName > ) ,
69416951 /// Grant privileges on specific schemas
@@ -7004,13 +7014,27 @@ impl fmt::Display for GrantObjects {
70047014 display_comma_separated( schemas)
70057015 )
70067016 }
7017+ GrantObjects :: AllExternalTablesInSchema { schemas } => {
7018+ write ! (
7019+ f,
7020+ "ALL EXTERNAL TABLES IN SCHEMA {}" ,
7021+ display_comma_separated( schemas)
7022+ )
7023+ }
70077024 GrantObjects :: AllViewsInSchema { schemas } => {
70087025 write ! (
70097026 f,
70107027 "ALL VIEWS IN SCHEMA {}" ,
70117028 display_comma_separated( schemas)
70127029 )
70137030 }
7031+ GrantObjects :: AllMaterializedViewsInSchema { schemas } => {
7032+ write ! (
7033+ f,
7034+ "ALL MATERIALIZED VIEWS IN SCHEMA {}" ,
7035+ display_comma_separated( schemas)
7036+ )
7037+ }
70147038 GrantObjects :: FutureSchemasInDatabase { databases } => {
70157039 write ! (
70167040 f,
@@ -7025,13 +7049,34 @@ impl fmt::Display for GrantObjects {
70257049 display_comma_separated( schemas)
70267050 )
70277051 }
7052+ GrantObjects :: FutureExternalTablesInSchema { schemas } => {
7053+ write ! (
7054+ f,
7055+ "FUTURE EXTERNAL TABLES IN SCHEMA {}" ,
7056+ display_comma_separated( schemas)
7057+ )
7058+ }
70287059 GrantObjects :: FutureViewsInSchema { schemas } => {
70297060 write ! (
70307061 f,
70317062 "FUTURE VIEWS IN SCHEMA {}" ,
70327063 display_comma_separated( schemas)
70337064 )
70347065 }
7066+ GrantObjects :: FutureMaterializedViewsInSchema { schemas } => {
7067+ write ! (
7068+ f,
7069+ "FUTURE MATERIALIZED VIEWS IN SCHEMA {}" ,
7070+ display_comma_separated( schemas)
7071+ )
7072+ }
7073+ GrantObjects :: FutureSequencesInSchema { schemas } => {
7074+ write ! (
7075+ f,
7076+ "FUTURE SEQUENCES IN SCHEMA {}" ,
7077+ display_comma_separated( schemas)
7078+ )
7079+ }
70357080 GrantObjects :: ResourceMonitors ( objects) => {
70367081 write ! ( f, "RESOURCE MONITOR {}" , display_comma_separated( objects) )
70377082 }
0 commit comments