Re: [HACKERS] Unused pg_class columns

2001-05-30 Thread Tom Lane
Bruce Momjian <[EMAIL PROTECTED]> writes: > Pgaccess is referencing system columns that are never set. I wasn't aware that our standard procedure upon finding a bug was to rip out the feature, rather than fixing the bug ... this could make life a *lot* simpler. If relhaspkey isn't set by table c

Re: [HACKERS] Unused pg_class columns

2001-05-30 Thread Tom Lane
Bruce Momjian <[EMAIL PROTECTED]> 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" --- y

Re: [HACKERS] Unused pg_class columns

2001-05-30 Thread Tom Lane
Bruce Momjian <[EMAIL PROTECTED]> writes: > I removed the reference in pgaccess. After a few releases of pgaccess > we can remove the column. Put it back please. Or have you become the unilateral arbiter of what functions pgaccess has? regards, tom lane ---

Re: [HACKERS] Unused pg_class columns

2001-05-30 Thread Tom Lane
"Christopher Kings-Lynne" <[EMAIL PROTECTED]> writes: > Are these columns in pg_class: > relukeys | relfkeys | relhaspkey > unused or what? They may be unused by the backend, but that doesn't mean that applications don't look at them. I find references to relhaspkey in pgaccess, for example.