Fix obsolete comment regarding FSM truncation.
[PostgreSQL.git] / src / include / catalog / pg_shdescription.h
blob770bd3014b0ff6e6b2416d3d70303ef68df84914
1 /*-------------------------------------------------------------------------
3 * pg_shdescription.h
4 * definition of the system "shared description" relation
5 * (pg_shdescription)
7 * NOTE: an object is identified by the OID of the row that primarily
8 * defines the object, plus the OID of the table that that row appears in.
9 * For example, a database is identified by the OID of its pg_database row
10 * plus the pg_class OID of table pg_database. This allows unique
11 * identification of objects without assuming that OIDs are unique
12 * across tables.
15 * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
16 * Portions Copyright (c) 1994, Regents of the University of California
18 * $PostgreSQL$
20 * NOTES
21 * the genbki.sh script reads this file and generates .bki
22 * information from the DATA() statements.
24 * XXX do NOT break up DATA() statements into multiple lines!
25 * the scripts are not as smart as you might think...
27 *-------------------------------------------------------------------------
29 #ifndef PG_SHDESCRIPTION_H
30 #define PG_SHDESCRIPTION_H
32 #include "catalog/genbki.h"
34 /* ----------------
35 * pg_shdescription definition. cpp turns this into
36 * typedef struct FormData_pg_shdescription
37 * ----------------
39 #define SharedDescriptionRelationId 2396
41 CATALOG(pg_shdescription,2396) BKI_SHARED_RELATION BKI_WITHOUT_OIDS
43 Oid objoid; /* OID of object itself */
44 Oid classoid; /* OID of table containing object */
45 text description; /* description of object */
46 } FormData_pg_shdescription;
48 /* ----------------
49 * Form_pg_shdescription corresponds to a pointer to a tuple with
50 * the format of pg_shdescription relation.
51 * ----------------
53 typedef FormData_pg_shdescription *Form_pg_shdescription;
55 /* ----------------
56 * compiler constants for pg_shdescription
57 * ----------------
59 #define Natts_pg_shdescription 3
60 #define Anum_pg_shdescription_objoid 1
61 #define Anum_pg_shdescription_classoid 2
62 #define Anum_pg_shdescription_description 3
64 /* ----------------
65 * initial contents of pg_shdescription
66 * ----------------
70 * Because the contents of this table are taken from the other *.h files,
71 * there is no initialization here. The initial contents are extracted
72 * by genbki.sh and loaded during initdb.
75 #endif /* PG_SHDESCRIPTION_H */