Kris Jurka <books(at)ejurka(dot)com> writes:
> You need to look through the schemas in the search_path in order and see
> which one a table with the given name appears in first.
I've lost track of the context in which this needs to be done, but in
some cases a cast to or from regclass offers a painless way to
disambiguate table names. Just a suggestion ...
regards, tom lane