Gavin Sherry <swm(at)linuxworld(dot)com(dot)au> writes:
> I was going to run up a patch for this, but it wold be premature given
> the introduction of schemas in 7.3. Once implemented, it would be trivial
> to add a test of schema ownership and incorporate this into the idea
> above.
Unfortunately, looking into databases you aren't connected to is far
from trivial. As long as users span multiple databases this problem
is not really soluble...
regards, tom lane