Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 8fc1f41

Browse files
committed
- Link the entries in the table to the catalog heading
- Wrap them in the <database class="table"> tags, since thats what they are (no markup rules for this, so it inherits from parent -- no style change) - Mention that pg_database, pg_shadow, and pg_group are global, and the rest are local to the specific DB. (I believe this is correct). > Works for me, though I suppose we could explain what the exceptions are > like in general terms. Perhaps something like > > 'Most system catalogs are copied from the template database during > database creation, and are thereafter database-specific. A few > catalogs are physically shared across all databases in an installation; > these are marked in the descriptions of the individual catalogs.' Ok, new patch. Rod Taylor
1 parent 4c59afa commit 8fc1f41

File tree

1 file changed

+57
-26
lines changed

1 file changed

+57
-26
lines changed

doc/src/sgml/catalogs.sgml

Lines changed: 57 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!--
22
Documentation of the system catalogs, directed toward PostgreSQL developers
3-
$Header: /cvsroot/pgsql/doc/src/sgml/catalogs.sgml,v 2.62 2002/09/24 21:26:44 tgl Exp $
3+
$Header: /cvsroot/pgsql/doc/src/sgml/catalogs.sgml,v 2.63 2002/10/14 04:29:23 momjian Exp $
44
-->
55

66
<chapter id="catalogs">
@@ -23,6 +23,12 @@
2323
creates the database on disk.) There are some exceptions for
2424
especially esoteric operations, such as adding index access methods.
2525
</para>
26+
<para>
27+
Most system catalogs are copied from the template database during
28+
database creation, and are thereafter database-specific. A few
29+
catalogs are physically shared across all databases in an installation;
30+
these are marked in the descriptions of the individual catalogs.
31+
</para>
2632

2733
<table>
2834
<title>System Catalogs</title>
@@ -37,7 +43,8 @@
3743

3844
<tbody>
3945
<row>
40-
<entry>pg_aggregate</entry>
46+
<entry><link linkend="catalog-pg-aggregate">
47+
<database class="table">pg_aggregate</database></link></entry>
4148
<entry>aggregate functions</entry>
4249
</row>
4350

@@ -57,122 +64,146 @@
5764
</row>
5865

5966
<row>
60-
<entry>pg_attrdef</entry>
67+
<entry><link linkend="catalog-pg-attrdef">
68+
<database class="table">pg_attrdef</database></link></entry>
6169
<entry>column default values</entry>
6270
</row>
6371

6472
<row>
65-
<entry>pg_attribute</entry>
73+
<entry><link linkend="catalog-pg-attribute">
74+
<database class="table">pg_attribute</database></link></entry>
6675
<entry>table columns (<quote>attributes</quote>, <quote>fields</quote>)</entry>
6776
</row>
6877

6978
<row>
70-
<entry>pg_cast</entry>
79+
<entry><link linkend="catalog-pg-cast">
80+
<database class="table">pg_cast</database></link></entry>
7181
<entry>casts (data type conversions)</entry>
7282
</row>
7383

7484
<row>
75-
<entry>pg_class</entry>
85+
<entry><link linkend="catalog-pg-class">
86+
<database class="table">pg_class</database></link></entry>
7687
<entry>tables, indexes, sequences (<quote>relations</quote>)</entry>
7788
</row>
7889

7990
<row>
80-
<entry>pg_constraint</entry>
91+
<entry><link linkend="catalog-pg-constraint">
92+
<database class="table">pg_constraint</database></link></entry>
8193
<entry>check constraints, unique / primary key constraints, foreign key constraints</entry>
8294
</row>
8395

8496
<row>
85-
<entry>pg_conversion</entry>
97+
<entry><link linkend="catalog-pg-conversion">
98+
<database class="table">pg_conversion</database></link></entry>
8699
<entry>encoding conversion information</entry>
87100
</row>
88101

89102
<row>
90-
<entry>pg_database</entry>
103+
<entry><link linkend="catalog-pg-database">
104+
<database class="table">pg_database</database></link></entry>
91105
<entry>databases within this database cluster</entry>
92106
</row>
93107

94108
<row>
95-
<entry>pg_depend</entry>
109+
<entry><link linkend="catalog-pg-depend">
110+
<database class="table">pg_depend</database></link></entry>
96111
<entry>dependencies between database objects</entry>
97112
</row>
98113

99114
<row>
100-
<entry>pg_description</entry>
115+
<entry><link linkend="catalog-pg-description">
116+
<database class="table">pg_description</database></link></entry>
101117
<entry>descriptions or comments on database objects</entry>
102118
</row>
103119

104120
<row>
105-
<entry>pg_group</entry>
121+
<entry><link linkend="catalog-pg-group">
122+
<database class="table">pg_group</database></link></entry>
106123
<entry>groups of database users</entry>
107124
</row>
108125

109126
<row>
110-
<entry>pg_index</entry>
127+
<entry><link linkend="catalog-pg-index">
128+
<database class="table">pg_index</database></link></entry>
111129
<entry>additional index information</entry>
112130
</row>
113131

114132
<row>
115-
<entry>pg_inherits</entry>
133+
<entry><link linkend="catalog-pg-inherits">
134+
<database class="table">pg_inherits</database></link></entry>
116135
<entry>table inheritance hierarchy</entry>
117136
</row>
118137

119138
<row>
120-
<entry>pg_language</entry>
139+
<entry><link linkend="catalog-pg-language">
140+
<database class="table">pg_language</database></link></entry>
121141
<entry>languages for writing functions</entry>
122142
</row>
123143

124144
<row>
125-
<entry>pg_largeobject</entry>
145+
<entry><link linkend="catalog-pg-largeobject">
146+
<database class="table">pg_largeobject</database></link></entry>
126147
<entry>large objects</entry>
127148
</row>
128149

129150
<row>
130-
<entry>pg_listener</entry>
151+
<entry><link linkend="catalog-pg-listener">
152+
<database class="table">pg_listener</database></link></entry>
131153
<entry>asynchronous notification</entry>
132154
</row>
133155

134156
<row>
135-
<entry>pg_namespace</entry>
157+
<entry><link linkend="catalog-pg-namespace">
158+
<database class="table">pg_namespace</database></link></entry>
136159
<entry>namespaces (schemas)</entry>
137160
</row>
138161

139162
<row>
140-
<entry>pg_opclass</entry>
163+
<entry><link linkend="catalog-pg-opclass">
164+
<database class="table">pg_opclass</database></link></entry>
141165
<entry>index access method operator classes</entry>
142166
</row>
143167

144168
<row>
145-
<entry>pg_operator</entry>
169+
<entry><link linkend="catalog-pg-operator">
170+
<database class="table">pg_operator</database></link></entry>
146171
<entry>operators</entry>
147172
</row>
148173

149174
<row>
150-
<entry>pg_proc</entry>
175+
<entry><link linkend="catalog-pg-proc">
176+
<database class="table">pg_proc</database></link></entry>
151177
<entry>functions and procedures</entry>
152178
</row>
153179

154180
<row>
155-
<entry>pg_rewrite</entry>
181+
<entry><link linkend="catalog-pg-rewrite">
182+
<database class="table">pg_rewrite</database></link></entry>
156183
<entry>query rewriter rules</entry>
157184
</row>
158185

159186
<row>
160-
<entry>pg_shadow</entry>
187+
<entry><link linkend="catalog-pg-shadow">
188+
<database class="table">pg_shadow</database></link></entry>
161189
<entry>database users</entry>
162190
</row>
163191

164192
<row>
165-
<entry>pg_statistic</entry>
193+
<entry><link linkend="catalog-pg-statistic">
194+
<database class="table">pg_statistic</database></link></entry>
166195
<entry>optimizer statistics</entry>
167196
</row>
168197

169198
<row>
170-
<entry>pg_trigger</entry>
199+
<entry><link linkend="catalog-pg-trigger">
200+
<database class="table">pg_trigger</database></link></entry>
171201
<entry>triggers</entry>
172202
</row>
173203

174204
<row>
175-
<entry>pg_type</entry>
205+
<entry><link linkend="catalog-pg-type">
206+
<database class="table">pg_type</database></link></entry>
176207
<entry>data types</entry>
177208
</row>
178209
</tbody>

0 commit comments

Comments
 (0)