Ilia,
> Maybe new constraint_exclusion staff could help to exclude non-matching
> tables from inheritance query ?
Yes, that's exactly what it's for. Your testing is welcome. Download 8.1
and try it today.
--
--Josh
Josh Berkus
Aglio Database Solutions
San Francisco