Re: Modification to the postgres catalog - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Modification to the postgres catalog
Date
Msg-id 28875.1160591685@sss.pgh.pa.us
Whole thread Raw
In response to Re: Modification to the postgres catalog  ("Carlos Chacon" <cdcarloschacon@gmail.com>)
Responses Re: Modification to the postgres catalog  ("Carlos Chacon" <cdcarloschacon@gmail.com>)
List pgsql-hackers
"Carlos Chacon" <cdcarloschacon@gmail.com> writes:
> But i modify too Natts_pg_class and the Anum macro...Only  I forgot
> mentionated it in the last mail. i put:

OK ... did you add a suitable initial value to each of the DATA lines in
pg_class.h?  Did you remember to adjust pg_class's own relnatts field
appearing in the DATA line for it?

You could try looking at one of the past commits that has added a column
to pg_class, and make sure you touched all the places it did.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Patch for Win32 blocking problem
Next
From: "Mark Woodward"
Date:
Subject: Re: Index Tuning Features