Mark as unused:
authorBruce Momjian
Wed, 30 May 2001 14:40:13 +0000 (14:40 +0000)
committerBruce Momjian
Wed, 30 May 2001 14:40:13 +0000 (14:40 +0000)
> Are these columns in pg_class:
> relukeys | relfkeys | relhaspkey
> unused or what?

Christopher Kings

src/include/catalog/pg_class.h

index 47cdfc5a23d27cc70504b0f48a0d91071ab02121..0ff37a5093e5f89e29f882fa7241ca4aa8450eaa 100644 (file)
@@ -8,7 +8,7 @@
  * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
  * Portions Copyright (c) 1994, Regents of the University of California
  *
- * $Id: pg_class.h,v 1.49 2001/05/14 20:30:21 momjian Exp $
+ * $Id: pg_class.h,v 1.50 2001/05/30 14:40:13 momjian Exp $
  *
  * NOTES
  *   the genbki.sh script reads this file and generates .bki
@@ -67,10 +67,10 @@ CATALOG(pg_class) BOOTSTRAP
     */
    int2        relchecks;      /* # of CHECK constraints for class */
    int2        reltriggers;    /* # of TRIGGERs */
-   int2        relukeys;       /* # of Unique keys */
-   int2        relfkeys;       /* # of FOREIGN KEYs */
-   int2        relrefs;        /* # of references to this rel (not used!) */
-   bool        relhaspkey;     /* has PRIMARY KEY */
+   int2        relukeys;       /* # of Unique keys (not used) */
+   int2        relfkeys;       /* # of FOREIGN KEYs (not used) */
+   int2        relrefs;        /* # of references to this rel (not used) */
+   bool        relhaspkey;     /* has PRIMARY KEY (not used) */
    bool        relhasrules;    /* has associated rules */
    bool        relhassubclass; /* has derived classes */