On Fri, Mar 03, 2006 at 09:01:53PM -0700, Michael Fuhr wrote: > Could you explain what you're trying to do without reference to how > you're trying to do it? It sounds like the goal is to take an > arbitrary string and find out what rows in what tables contain that > string. Is that right? If so them I'm not sure how to best solve > that problem; maybe somebody else will have some ideas. If it happens to be one text field per table it can be solved with inheritance. Inherit the text field from a parent table and search through that eventually deducing the appropriate child table with tableoid where needed. Karsten -- GPG key ID E4071346 @ wwwkeys.pgp.net E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346