File tree 1 file changed +16
-0
lines changed
src/frontend/src/catalog/system_catalog/pg_catalog 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -397,12 +397,28 @@ impl SysCatalogReaderImpl {
397
397
} )
398
398
. collect_vec ( ) ;
399
399
400
+ let internal_tables = schema
401
+ . iter_internal_table ( )
402
+ . map ( |table| {
403
+ OwnedRow :: new ( vec ! [
404
+ Some ( ScalarImpl :: Int32 ( table. id. table_id( ) as i32 ) ) ,
405
+ Some ( ScalarImpl :: Utf8 ( table. name. clone( ) . into( ) ) ) ,
406
+ Some ( ScalarImpl :: Int32 ( schema_info. id as i32 ) ) ,
407
+ Some ( ScalarImpl :: Int32 ( table. owner as i32 ) ) ,
408
+ Some ( ScalarImpl :: Utf8 ( "n" . into( ) ) ) ,
409
+ Some ( ScalarImpl :: Int32 ( 0 ) ) ,
410
+ Some ( ScalarImpl :: Int32 ( 0 ) ) ,
411
+ ] )
412
+ } )
413
+ . collect_vec ( ) ;
414
+
400
415
rows. into_iter ( )
401
416
. chain ( mvs. into_iter ( ) )
402
417
. chain ( indexes. into_iter ( ) )
403
418
. chain ( sources. into_iter ( ) )
404
419
. chain ( sys_tables. into_iter ( ) )
405
420
. chain ( views. into_iter ( ) )
421
+ . chain ( internal_tables. into_iter ( ) )
406
422
. collect_vec ( )
407
423
} )
408
424
. collect_vec ( ) )
You can’t perform that action at this time.
0 commit comments