"Nigel J. Andrews" <nandrews(at)investsystems(dot)co(dot)uk> writes:
> For this if we look once again at RelnameGetRelid(relname) in
> backend/catalog/namespace.c wouldn't this is_visible() function simply be a
> wrapper around it?
Sort of. It's there already, see RelationIsVisible.
regards, tom lane