Re: pg_type

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

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?

regards, tom lane

In response to

  • pg_type at 2007-05-07 21:27:05 from Andrew Dunstan

Responses

  • Re: pg_type at 2007-05-07 23:04:39 from Andrew Dunstan

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2007-05-07 22:02:32 Re: psqlodbc - psqlodbc: Put Autotools-generated files into subdirectory
Previous Message Tom Lane 2007-05-07 21:45:38 Re: BufFileWrite across MAX_PHYSICAL_FILESIZE boundary