Hi Jim,

Just to add to this:


> I don't think it's the expected behaviour. For instance,
> pg_get_viewdef() sees it differently (opposite approach):
>
> postgres=# SELECT pg_get_viewdef('"MyView"');
>       pg_get_viewdef
> ---------------------------
>   SELECT 42 AS "?column?";
> (1 row)
>
>
I saw from the docs that pg_get_viewdef('name') is deprecated and instead
users should use an OID:
https://www.postgresql.org/docs/18/functions-info.html#FUNCTIONS-INFO-CATALOG


-- 
Best, Phil Alger

Reply via email to