Some clients connected based on PostgreSQL protocol will query the views created under "pg_catalog", which are used for fetching the status of PostgreSQL. Unfortunately, MyDuck can not handle those queries. So we add a temporarily solution to circumvent these queries by intercepting the queries and return the mock data.
However, not all views are mocked now, we just mock those queries sent by the client we have tested so far.
Some clients connected based on PostgreSQL protocol will query the views created under "pg_catalog", which are used for fetching the status of PostgreSQL. Unfortunately, MyDuck can not handle those queries. So we add a temporarily solution to circumvent these queries by intercepting the queries and return the mock data.
However, not all views are mocked now, we just mock those queries sent by the client we have tested so far.