@@ -117,7 +117,7 @@ impl<C: CatalogInfo> PgClassTable<C> {
117117 let mut swap_cache = HashMap :: new ( ) ;
118118
119119 // Iterate through all catalogs and schemas
120- for catalog_name in this. catalog_list . catalog_names ( ) ? {
120+ for catalog_name in this. catalog_list . catalog_names ( ) . await ? {
121121 let cache_key = OidCacheKey :: Catalog ( catalog_name. clone ( ) ) ;
122122 let catalog_oid = if let Some ( oid) = oid_cache. get ( & cache_key) {
123123 * oid
@@ -126,7 +126,7 @@ impl<C: CatalogInfo> PgClassTable<C> {
126126 } ;
127127 swap_cache. insert ( cache_key, catalog_oid) ;
128128
129- if let Some ( schema_names) = this. catalog_list . schema_names ( & catalog_name) ? {
129+ if let Some ( schema_names) = this. catalog_list . schema_names ( & catalog_name) . await ? {
130130 for schema_name in schema_names {
131131 let cache_key = OidCacheKey :: Schema ( catalog_name. clone ( ) , schema_name. clone ( ) ) ;
132132 let schema_oid = if let Some ( oid) = oid_cache. get ( & cache_key) {
@@ -140,8 +140,10 @@ impl<C: CatalogInfo> PgClassTable<C> {
140140 // (In a full implementation, this would go in pg_namespace)
141141
142142 // Now process all tables in this schema
143- if let Some ( table_names) =
144- this. catalog_list . table_names ( & catalog_name, & schema_name) ?
143+ if let Some ( table_names) = this
144+ . catalog_list
145+ . table_names ( & catalog_name, & schema_name)
146+ . await ?
145147 {
146148 for table_name in table_names {
147149 let cache_key = OidCacheKey :: Table (
0 commit comments