Re: pg_type - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: pg_type
Date
Msg-id 463FB087.1050505@dunslane.net
Whole thread Raw
In response to Re: pg_type  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: pg_type  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers

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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg_type
Next
From: Tom Lane
Date:
Subject: Re: pg_type