OSDN Git Service

Update copyright to 2004.
[pg-rex/syncrep.git] / src / include / catalog / pg_inherits.h
index 8913b61..4004b39 100644 (file)
@@ -1,13 +1,14 @@
 /*-------------------------------------------------------------------------
  *
- * pg_inherits.h--
+ * pg_inherits.h
  *       definition of the system "inherits" relation (pg_inherits)
  *       along with the relation's initial contents.
  *
  *
- * Copyright (c) 1994, Regents of the University of California
+ * Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
+ * Portions Copyright (c) 1994, Regents of the University of California
  *
- * $Id: pg_inherits.h,v 1.3 1997/09/07 04:56:51 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/catalog/pg_inherits.h,v 1.18 2004/08/29 04:13:05 momjian Exp $
  *
  * NOTES
  *       the genbki.sh script reads this file and generates .bki
@@ -19,7 +20,7 @@
 #define PG_INHERITS_H
 
 /* ----------------
- *             postgres.h contains the system type definintions and the
+ *             postgres.h contains the system type definitions and the
  *             CATALOG(), BOOTSTRAP and DATA() sugar words so this file
  *             can be read by both genbki.sh and the C compiler.
  * ----------------
  *             typedef struct FormData_pg_inherits
  * ----------------
  */
-CATALOG(pg_inherits)
+CATALOG(pg_inherits) BKI_WITHOUT_OIDS
 {
-       Oid                             inhrel;
-       Oid                             inhparent;
-       int4                    inhseqno;
+       Oid                     inhrelid;
+       Oid                     inhparent;
+       int4            inhseqno;
 } FormData_pg_inherits;
 
 /* ----------------
@@ -42,16 +43,15 @@ CATALOG(pg_inherits)
  *             the format of pg_inherits relation.
  * ----------------
  */
-typedef FormData_pg_inherits *InheritsTupleForm;
+typedef FormData_pg_inherits *Form_pg_inherits;
 
 /* ----------------
  *             compiler constants for pg_inherits
  * ----------------
  */
 #define Natts_pg_inherits                              3
-#define Anum_pg_inherits_inhrel                        1
+#define Anum_pg_inherits_inhrelid              1
 #define Anum_pg_inherits_inhparent             2
 #define Anum_pg_inherits_inhseqno              3
 
-
-#endif                                                 /* PG_INHERITS_H */
+#endif   /* PG_INHERITS_H */