Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au> writes:
>> Won't that result in *everything* being considered a system table?
> Doh. Quite right. Well, the 7.0 initdb creates pg_indexes as the last
> thing it does. (Even though there are higher oids in pg_attribute,
> pg_rewrite and pg_description.), so how about the attached patch?
Seems reasonable, but the patch ought to fix the comment just above,
preferably with the above observation that this is correct by
examination of the now-frozen 7.0 initdb code ...
regards, tom lane