"Dave Held" <dave(dot)held(at)arraysg(dot)com> writes:
> The rule is simple: when the identifier has more than
> two parts, search for the first part among the schemas first, and then
> the catalogs.
This doesn't actually work, because there is already ambiguity as to
which level the first name is. See for instance the comments in
transformColumnRef().
regards, tom lane