Can't access view pg_stat_progress_copy #4252
-
Hi all, I would like to read the system view This view, as all pg_ views, is in schema But when I try this: I get this error: The database user (postgres) has no issue querying this view using psql: What have I missed? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Our schema cache queries have a hardcoded exception for postgrest/src/PostgREST/SchemaCache.hs Line 711 in b915968 If you really want to expose that data, I suggest you create a view in your regular exposed schema which selects from that pg_catalog view. |
Beta Was this translation helpful? Give feedback.
Our schema cache queries have a hardcoded exception for
pg_catalog
, you can't expose it like that:postgrest/src/PostgREST/SchemaCache.hs
Line 711 in b915968
If you really want to expose that data, I suggest you create a view in your regular exposed schema which selects from that pg_catalog view.