@@ -6928,12 +6928,24 @@ pub enum GrantObjects {
69286928 AllSequencesInSchema { schemas : Vec < ObjectName > } ,
69296929 /// Grant privileges on `ALL TABLES IN SCHEMA <schema_name> [, ...]`
69306930 AllTablesInSchema { schemas : Vec < ObjectName > } ,
6931+ /// Grant privileges on `ALL VIEWS IN SCHEMA <schema_name> [, ...]`
6932+ 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 > } ,
69316937 /// Grant privileges on `FUTURE SCHEMAS IN DATABASE <database_name> [, ...]`
69326938 FutureSchemasInDatabase { databases : Vec < ObjectName > } ,
69336939 /// Grant privileges on `FUTURE TABLES IN SCHEMA <schema_name> [, ...]`
69346940 FutureTablesInSchema { schemas : Vec < ObjectName > } ,
69356941 /// Grant privileges on `FUTURE VIEWS IN SCHEMA <schema_name> [, ...]`
69366942 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 > } ,
69376949 /// Grant privileges on specific databases
69386950 Databases ( Vec < ObjectName > ) ,
69396951 /// Grant privileges on specific schemas
@@ -7002,6 +7014,27 @@ impl fmt::Display for GrantObjects {
70027014 display_comma_separated( schemas)
70037015 )
70047016 }
7017+ GrantObjects :: AllExternalTablesInSchema { schemas } => {
7018+ write ! (
7019+ f,
7020+ "ALL EXTERNAL TABLES IN SCHEMA {}" ,
7021+ display_comma_separated( schemas)
7022+ )
7023+ }
7024+ GrantObjects :: AllViewsInSchema { schemas } => {
7025+ write ! (
7026+ f,
7027+ "ALL VIEWS IN SCHEMA {}" ,
7028+ display_comma_separated( schemas)
7029+ )
7030+ }
7031+ GrantObjects :: AllMaterializedViewsInSchema { schemas } => {
7032+ write ! (
7033+ f,
7034+ "ALL MATERIALIZED VIEWS IN SCHEMA {}" ,
7035+ display_comma_separated( schemas)
7036+ )
7037+ }
70057038 GrantObjects :: FutureSchemasInDatabase { databases } => {
70067039 write ! (
70077040 f,
@@ -7016,13 +7049,34 @@ impl fmt::Display for GrantObjects {
70167049 display_comma_separated( schemas)
70177050 )
70187051 }
7052+ GrantObjects :: FutureExternalTablesInSchema { schemas } => {
7053+ write ! (
7054+ f,
7055+ "FUTURE EXTERNAL TABLES IN SCHEMA {}" ,
7056+ display_comma_separated( schemas)
7057+ )
7058+ }
70197059 GrantObjects :: FutureViewsInSchema { schemas } => {
70207060 write ! (
70217061 f,
70227062 "FUTURE VIEWS IN SCHEMA {}" ,
70237063 display_comma_separated( schemas)
70247064 )
70257065 }
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+ }
70267080 GrantObjects :: ResourceMonitors ( objects) => {
70277081 write ! ( f, "RESOURCE MONITOR {}" , display_comma_separated( objects) )
70287082 }
0 commit comments