Bruce Momjian wrote:
> > Well I see that pg_class has columns like "relhasindex". If we added a
> > "relhassubclass", the overhead should be unmeasureable.
>
> Yes, but how do you keep that accurate? If I add indexes, then drop
> them, does relhasindex go to false.
I don't know. Does it?
>Could you do that for relhassubclass?
If we made it relnumsubclasses and incremented/decremented on
CREATE/DROP, it seems easy in theory.
--
Chris Bitmead
mailto:chris@bitmead.com
http://www.techphoto.org - Photography News, Stuff that Matters