Re: pg_type

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_type
Date: 2007-05-07 23:04:39
Message-ID: 463FB087.1050505@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> Andrew Dunstan <andrew(at)dunslane(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2007-05-07 23:15:31 Re: pg_type
Previous Message David Fuhry 2007-05-07 22:29:50 Re: Behavior of GENERATED columns per SQL2003