Re: Unused pg_class columns

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>, Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Unused pg_class columns
Date: 2001-05-30 14:52:57
Message-ID: 200105301452.f4UEqvG13300@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > I have marked these columns as unused in pg_class.h.
>
> Keep your hands off 'em!
>
> There are other purposes for system catalogs besides the internal
> convenience of the backend, you know. "Unused at the moment by the
> backend" does not mean "removable" --- you have no way to know what
> user code you may break by removing such info.

I didn't remove them. I marked them as unused, like other columns
already marked as unused in the file.

For example:

int2 relrefs; /* # of references to this rel (not used) */

was already marked as "(not used)".

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2001-05-30 14:55:54 Re: Unused pg_class columns
Previous Message Tom Lane 2001-05-30 14:51:44 Re: Unused pg_class columns