Alvaro,
* Alvaro Herrera (alvherre@2ndquadrant.com) wrote:
> The subquery comparing the OID of pg_class using only a condition on
> relname seems wrong; wouldn't it fail or produce wrong results if
> somebody creates a table named pg_class in another schema? I think you
> should write the comparison like this instead:
> classoid = 'pg_catalog.pg_class'::regclass
Thanks, patch attached which does that (qualifying to the same level as
the surrounding query for each).
I've run it through my tests and will plan to push it tomorrow.
Thanks!
Stephen