>>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 ...
Attached.
Chris