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

Commit 7fcbc5d

Browse files
author
Thomas G. Lockhart
committed
Fix markup to include all closing tags.
Required by newest versions of DocBook and style sheets.
1 parent 905a457 commit 7fcbc5d

File tree

7 files changed

+68
-14
lines changed

7 files changed

+68
-14
lines changed

doc/src/sgml/datatype.sgml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1634,6 +1634,7 @@ the time zone becomes GMT (on most systems anyway).
16341634
which has an offset of +10:00 hours from UTC.
16351635
</para>
16361636
</note>
1637+
</para>
16371638

16381639
<para>
16391640
Australian time zones and their naming variants

doc/src/sgml/ecpg.sgml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -487,6 +487,7 @@ conflicts.
487487
</ListItem>
488488
</VarListEntry>
489489
</VariableList>
490+
</Para>
490491
</sect1>
491492

492493
<Sect1>

doc/src/sgml/libpq++.sgml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,12 @@
3838
<filename>src/libpq++/examples</filename>, including the source
3939
code for the three examples in this chapter.
4040
</para>
41+
4142
<sect1>
4243
<title>Control and Initialization</title>
4344

4445
<para>
46+
</para>
4547

4648
<sect2>
4749
<title>Environment Variables</title>
@@ -189,10 +191,12 @@
189191
</Para>
190192
</sect2>
191193
</sect1>
194+
192195
<sect1>
193196
<title>Database Connection Functions</title>
194197

195198
<para>
199+
</para>
196200

197201
<sect2>
198202
<title>Database Environment Class: <classname>PGenv</classname></title>
@@ -271,6 +275,7 @@
271275
</para>
272276
</sect2>
273277
</sect1>
278+
274279
<sect1>
275280
<title>Query Execution Functions</title>
276281

@@ -443,6 +448,7 @@
443448
</itemizedlist>
444449
</para>
445450
</sect1>
451+
446452
<sect1>
447453
<title>Asynchronous Notification</title>
448454

@@ -507,6 +513,7 @@
507513
notification.
508514
</para>
509515
</sect1>
516+
510517
<sect1>
511518
<title>Functions Associated with the COPY Command</title>
512519

@@ -613,6 +620,7 @@
613620
</programlisting>
614621
</para>
615622
</sect1>
623+
616624
<sect1>
617625
<title>Caveats</title>
618626

doc/src/sgml/postgres.sgml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/postgres.sgml,v 1.19 1999/03/30 15:23:03 thomas Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/postgres.sgml,v 1.20 1999/04/06 15:41:13 thomas Exp $
33

44
Postgres integrated documentation.
55
Other subset docs should be copied and shrunk from here.
66
thomas 1998-02-23
77

88
$Log: postgres.sgml,v $
9+
Revision 1.20 1999/04/06 15:41:13 thomas
10+
Fix markup to include all closing tags.
11+
Required by newest versions of DocBook and style sheets.
12+
913
Revision 1.19 1999/03/30 15:23:03 thomas
1014
Include libpq+.sgml in the doc set.
1115
Had been omitted from the integrated doc for no good reason.
@@ -351,7 +355,7 @@ Omit index until we have some index entries.
351355
<!-- Keep this comment at the end of the file
352356
Local variables:
353357
mode: sgml
354-
sgml-omittag:t
358+
sgml-omittag:nil
355359
sgml-shorttag:t
356360
sgml-minimize-attributes:nil
357361
sgml-always-quote-attributes:t

doc/src/sgml/ref/create_table.sgml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1482,6 +1482,7 @@ disallow this.
14821482
<synopsis>
14831483
[ CONSTRAINT name ] NULL
14841484
</synopsis>
1485+
</para>
14851486
</REFSECT3>
14861487

14871488
<REFSECT3 ID="R3-SQL-NOTNULL-4">
@@ -1850,7 +1851,7 @@ but with perhaps a more obvious syntax.
18501851
<!-- Keep this comment at the end of the file
18511852
Local variables:
18521853
mode: sgml
1853-
sgml-omittag:t
1854+
sgml-omittag:nil
18541855
sgml-shorttag:t
18551856
sgml-minimize-attributes:nil
18561857
sgml-always-quote-attributes:t

doc/src/sgml/ref/select.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,8 +213,8 @@ SELECT [ALL|DISTINCT [ON <replaceable class="PARAMETER">column</replaceable>] ]
213213
selection.
214214
<command>DISTINCT ON <replaceable class="PARAMETER">column</replaceable></command> will eliminate all duplicates in the specified column; this is
215215
equivalent to using <command>GROUP BY <replaceable class="PARAMETER">column</replaceable></command>. <command>ALL</command> will return all candidate rows,
216-
including duplicates.
217-
216+
including duplicates.</para>
217+
218218
<para>
219219
The GROUP BY clause allows a user to divide a table
220220
conceptually into groups. (See GROUP BY clause).</para>

doc/src/sgml/syntax.sgml

Lines changed: 48 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<chapter id="syntax">
1+
<chapter>
22
<title>SQL Syntax</title>
33

44
<sect1>
@@ -13,22 +13,25 @@ restricted to appear in only certain contexts. Other key words are
1313
<firstterm>not restricted</firstterm>, which indicates that in certain
1414
contexts they
1515
have a specific meaning but are not otherwise constrained.
16+
</para>
1617

1718
<para>
1819
<productname>Postgres</productname> implements an extended subset of the
1920
<acronym>SQL92</acronym> and <acronym>SQL3</acronym> languages. Some language
2021
elements are not as restricted in this implementation as is
2122
called for in the language standards, in part due
2223
to the extensibility features of <productname>Postgres</productname>.
24+
</para>
2325

2426
<para>
2527
Information on <acronym>SQL92</acronym> and <acronym>SQL3</acronym> key words
26-
is derived from <xref linkend="DATE97" endterm="DATE97-full">.
28+
is derived from <xref linkend="DATE97" endterm="DATE97">.
29+
</para>
2730

28-
<Sect2>
29-
<Title>Reserved Key Words</Title>
31+
<sect2>
32+
<title>Reserved Key Words</title>
3033

31-
<Para>
34+
<para>
3235
<acronym>SQL92</acronym> and <acronym>SQL3</acronym> have
3336
<firstterm>reserved key words</firstterm> which are not allowed
3437
as identifiers and not allowed in any usage other than as fundamental
@@ -37,13 +40,14 @@ tokens in <acronym>SQL</acronym> statements.
3740
which have similar restrictions. In particular, these key words
3841
are not allowed as column or table names, though in some cases
3942
they are allowed to be column labels (i.e. in AS clauses).
43+
</para>
4044

4145
<tip>
4246
<para>
4347
Any string can be specified as an identifier if surrounded by
4448
double quotes (<quote>like this!</quote>). Some care is required since
4549
such an identifier will be case sensitive
46-
and will retain embedded whitespace other special characters.
50+
and will retain embedded whitespace other special characters.</para>
4751
</tip>
4852

4953
<para>
@@ -66,7 +70,9 @@ SETOF SHOW
6670
UNLISTEN UNTIL
6771
VACUUM VERBOSE
6872
</programlisting>
73+
</para>
6974

75+
<para>
7076
The following are <productname>Postgres</productname>
7177
reserved words which are also <acronym>SQL92</acronym>
7278
or <acronym>SQL3</acronym> reserved words, and which
@@ -113,7 +119,9 @@ UNION UNIQUE UPDATE USER USING
113119
VALUES VARCHAR VARYING VIEW
114120
WHERE WITH WORK
115121
</programlisting>
122+
</para>
116123

124+
<para>
117125
The following are <acronym>SQL92</acronym> reserved key words which
118126
are not <productname>Postgres</productname> reserved key words, but which
119127
if used as function names are always translated into the function
@@ -122,7 +130,9 @@ if used as function names are always translated into the function
122130
<programlisting>
123131
CHAR_LENGTH CHARACTER_LENGTH
124132
</programlisting>
133+
</para>
125134

135+
<para>
126136
The following are <acronym>SQL92</acronym> or <acronym>SQL3</acronym>
127137
reserved key words which
128138
are not <productname>Postgres</productname> reserved key words, but
@@ -131,6 +141,7 @@ if used as type names are always translated into an alternate, native type:
131141
<programlisting>
132142
BOOLEAN DOUBLE FLOAT INT INTEGER INTERVAL REAL SMALLINT
133143
</programlisting>
144+
</para>
134145

135146
<para>
136147
The following are either <acronym>SQL92</acronym>
@@ -146,6 +157,7 @@ Some of these key words represent functions in <acronym>SQL92</acronym>.
146157
These functions are defined in <productname>Postgres</productname>,
147158
but the parser does not consider the names to be key words and they are allowed
148159
in other contexts.
160+
</para>
149161
</note>
150162

151163
<programlisting>
@@ -170,11 +182,13 @@ UNKNOWN UPPER USAGE
170182
VALUE
171183
WHENEVER WRITE
172184
</programlisting>
185+
</para>
186+
</sect2>
173187

174-
<Sect2>
175-
<Title>Non-reserved Keywords</Title>
188+
<sect2>
189+
<title>Non-reserved Keywords</title>
176190

177-
<Para>
191+
<para>
178192
<acronym>SQL92</acronym> and <acronym>SQL3</acronym> have
179193
<firstterm>non-reserved keywords</firstterm> which have
180194
a proscribed meaning in the language but which are also allowed
@@ -183,6 +197,7 @@ as identifiers.
183197
which allow similar unrestricted usage.
184198
In particular, these keywords
185199
are allowed as column or table names.
200+
</para>
186201

187202
<para>
188203
The following are <productname>Postgres</productname>
@@ -208,6 +223,7 @@ SEQUENCE SERIAL START STATEMENT STDIN STDOUT
208223
TRUSTED
209224
VALID VERSION
210225
</programlisting>
226+
</para>
211227

212228
<para>
213229
The following are <productname>Postgres</productname>
@@ -231,6 +247,7 @@ TIME TIMESTAMP TIMEZONE_HOUR TIMEZONE_MINUTE TRIGGER
231247
YEAR
232248
ZONE
233249
</programlisting>
250+
</para>
234251

235252
<para>
236253
The following are <productname>Postgres</productname>
@@ -240,6 +257,7 @@ or <acronym>SQL3</acronym> non-reserved key words:
240257
<programlisting>
241258
TYPE
242259
</programlisting>
260+
</para>
243261

244262
<para>
245263
The following are either <acronym>SQL92</acronym>
@@ -268,3 +286,24 @@ SUBCLASS_ORIGIN
268286
TABLE_NAME
269287
UNCOMMITTED UNNAMED
270288
</programlisting>
289+
</para>
290+
</sect2>
291+
</sect1>
292+
</chapter>
293+
294+
<!-- Keep this comment at the end of the file
295+
Local variables:
296+
mode: sgml
297+
sgml-omittag:nil
298+
sgml-shorttag:t
299+
sgml-minimize-attributes:nil
300+
sgml-always-quote-attributes:t
301+
sgml-indent-step:1
302+
sgml-indent-data:t
303+
sgml-parent-document:nil
304+
sgml-default-dtd-file:"./reference.ced"
305+
sgml-exposed-tags:nil
306+
sgml-local-catalogs:"/usr/lib/sgml/CATALOG"
307+
sgml-local-ecat-files:nil
308+
End:
309+
-->

0 commit comments

Comments
 (0)