Tom Lane wrote:
> Andrew Dunstan <andrew@dunslane.net> writes:
>
>> I added a field to pg_type, updated all the bootstrap catalog entries,
>> changed Natts_pg_type, and (I think) fixed the two places in pg_type.c
>> that construct pg_type entries. However, initdb fails at the sysviews
>> creation stage - the core dump shows it failing as shown below. Anyone
>> have a quick idea what I might have missed / done wrong?
>>
>
> One thing I've been burnt by in the past is failing to update the
> pg_class.h DATA statement to show the right number of columns. Also,
> you fixed both representations of the attribute list in pg_attribute.h,
> right?
>
>
>
Thanks. Yes, it was both pg_class and pg_attribute that I had missed.
All better now. ;-)
Now to use the field ....
cheers
andrew