Re: pg_type

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: pg_type
Дата
Msg-id 463FB087.1050505@dunslane.net
обсуждение исходный текст
Ответ на Re: pg_type  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pg_type  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg_type
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_type