Re: [HACKERS] About adding an attribute to a system catalog

2014-03-31 Thread Tom Lane
Robert Haas writes: > Adding attributes to bootstrap tables is a whole lot more fiddly than > for other system tables. I suggest looking at a patch that did this > to see what's involved. For example, commit > 76a47c0e7423891d4b4f0977312f46fec6c5c416 removed and replaced a column > in pg_attribut

Re: [HACKERS] About adding an attribute to a system catalog

2014-03-31 Thread Robert Haas
On Mon, Mar 24, 2014 at 6:38 PM, Tanmay Deshpande wrote: > My doubt is what changes does one have to make in the source code if he/she > is trying to add an attribute to the existing system catalogs table ? In general, you mostly need to modify the pg_whatever.h file that defines that system cata

[HACKERS] About adding an attribute to a system catalog

2014-03-24 Thread Tanmay Deshpande
My doubt is what changes does one have to make in the source code if he/she is trying to add an attribute to the existing system catalogs table ?