diff --git a/src/frontend/src/catalog/system_catalog/pg_catalog/pg_tables.rs b/src/frontend/src/catalog/system_catalog/pg_catalog/pg_tables.rs index 07b3a15e09b1b..27b4c214f0265 100644 --- a/src/frontend/src/catalog/system_catalog/pg_catalog/pg_tables.rs +++ b/src/frontend/src/catalog/system_catalog/pg_catalog/pg_tables.rs @@ -34,7 +34,8 @@ use risingwave_frontend_macro::system_catalog; schema_id, owner FROM rw_catalog.rw_system_tables) AS t - JOIN rw_catalog.rw_schemas s ON t.schema_id = s.id" + JOIN rw_catalog.rw_schemas s ON t.schema_id = s.id + AND s.name <> 'rw_catalog'" )] #[derive(Fields)] struct PgTable {