"Gordon Ross" <G(dot)Ross(at)ccw(dot)gov(dot)uk> writes:
> Is there any way to determine which table a row belows to, if I do a
> search on the top level table:
Look at the built-in column "tableoid". You can join this to
pg_class.oid to retrieve the table name.
regards, tom lane