Skip to content

Commit ec37ea1

Browse files
committed
Cleanups
1 parent bb13830 commit ec37ea1

File tree

11 files changed

+30
-26
lines changed

11 files changed

+30
-26
lines changed

doc/src/sgml/ref/alter_group.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/alter_group.sgml,v 1.1 2000/01/14 22:11:32 petere Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/alter_group.sgml,v 1.2 2000/07/22 02:39:10 momjian Exp $
33
Postgres documentation
44
-->
55

@@ -114,7 +114,7 @@ ALTER GROUP <replaceable class="PARAMETER">name</replaceable> DROP USER <replace
114114
ALTER GROUP staff ADD USER karl, john
115115
</programlisting>
116116

117-
Remove a user from a group
117+
Remove a user from a group:
118118

119119
<programlisting>
120120
ALTER GROUP workers DROP USER beth

doc/src/sgml/ref/alter_table.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/alter_table.sgml,v 1.13 2000/06/09 01:43:57 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/alter_table.sgml,v 1.14 2000/07/22 02:39:10 momjian Exp $
33
Postgres documentation
44
-->
55

@@ -307,7 +307,7 @@ CREATE TABLE temp AS SELECT did, city FROM distributors;
307307
DROP TABLE distributors;
308308
CREATE TABLE distributors (
309309
did DECIMAL(3) DEFAULT 1,
310-
name VARCHAR(40) NOT NULL,
310+
name VARCHAR(40) NOT NULL
311311
);
312312
INSERT INTO distributors SELECT * FROM temp;
313313
DROP TABLE temp;

doc/src/sgml/ref/alter_user.sgml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/alter_user.sgml,v 1.11 2000/03/27 17:14:42 thomas Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/alter_user.sgml,v 1.12 2000/07/22 02:39:10 momjian Exp $
33
Postgres documentation
44
-->
55

@@ -160,20 +160,20 @@ ERROR: ALTER USER: user "username" does not exist
160160
ALTER USER davide WITH PASSWORD 'hu8jmn3';
161161
</programlisting>
162162

163-
Change a user's valid until date
163+
Change a user's valid until date:
164164

165165
<programlisting>
166166
ALTER USER manuel VALID UNTIL 'Jan 31 2030';
167167
</programlisting>
168168

169169
Change a user's valid until date, specifying that his
170170
authorisation should expire at midday on 4th May 1998 using
171-
the time zone which is one hour ahead of UTC
171+
the time zone which is one hour ahead of UTC:
172172
<programlisting>
173173
ALTER USER chris VALID UNTIL 'May 4 12:00:00 1998 +1';
174174
</programlisting>
175175

176-
Give a user the ability to create other users and new databases.
176+
Give a user the ability to create other users and new databases:
177177

178178
<programlisting>
179179
ALTER USER miriam CREATEUSER CREATEDB;

doc/src/sgml/ref/cluster.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/cluster.sgml,v 1.7 1999/07/22 15:09:06 thomas Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/cluster.sgml,v 1.8 2000/07/22 02:39:10 momjian Exp $
33
Postgres documentation
44
-->
55

@@ -204,7 +204,7 @@ SELECT <replaceable class="parameter">columnlist</replaceable> INTO TABLE <repla
204204
Usage
205205
</title>
206206
<para>
207-
Cluster the employees relation on the basis of its salary attribute
207+
Cluster the employees relation on the basis of its salary attribute:
208208
</para>
209209
<programlisting>
210210
CLUSTER emp_ind ON emp;

doc/src/sgml/ref/copy.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/copy.sgml,v 1.16 2000/04/18 23:44:58 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/copy.sgml,v 1.17 2000/07/22 02:39:10 momjian Exp $
33
Postgres documentation
44
-->
55

@@ -407,7 +407,7 @@ ERROR: <replaceable>reason</replaceable>
407407
</title>
408408
<para>
409409
The following example copies a table to standard output,
410-
using a vertical bar ("|") as the field
410+
using a pipe (|) as the field
411411
delimiter:
412412
</para>
413413
<programlisting>

doc/src/sgml/ref/create_function.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_function.sgml,v 1.13 2000/03/27 17:14:42 thomas Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_function.sgml,v 1.14 2000/07/22 02:39:10 momjian Exp $
33
Postgres documentation
44
-->
55

@@ -293,7 +293,7 @@ CREATE TABLE product (
293293
find a type conversion function automatically, the sql function has
294294
to have the same name as the return type, and overloading is
295295
unavoidable. The function name is overloaded by using the second
296-
form of the <command>AS</command> clause in the SQL definition
296+
form of the <command>AS</command> clause in the SQL definition:
297297
</para>
298298
<programlisting>
299299
CREATE FUNCTION point(complex) RETURNS point

doc/src/sgml/ref/create_rule.sgml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_rule.sgml,v 1.17 2000/07/21 04:22:54 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_rule.sgml,v 1.18 2000/07/22 02:39:10 momjian Exp $
33
Postgres documentation
44
-->
55

@@ -203,7 +203,7 @@ ON UPDATE TO emp-1.salary WHERE emp-2.name = "Joe"
203203
report an error because the query cycled too many times:
204204

205205
<example>
206-
<title>Example of a circular rewrite rule combination.</title>
206+
<title>Example of a circular rewrite rule combination:</title>
207207
<programlisting>
208208
CREATE RULE bad_rule_combination_1 AS
209209
ON SELECT TO emp
@@ -220,7 +220,7 @@ CREATE RULE bad_rule_combination_2 AS
220220
<para>
221221
This attempt to select from EMP will cause
222222
<productname>Postgres</productname> to issue an error
223-
because the queries cycled too many times.
223+
because the queries cycled too many times:
224224
<programlisting>
225225
SELECT * FROM emp;
226226
</programlisting></para>

doc/src/sgml/ref/create_table.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_table.sgml,v 1.31 2000/07/14 15:27:14 thomas Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_table.sgml,v 1.32 2000/07/22 02:39:10 momjian Exp $
33
Postgres documentation
44
-->
55

@@ -221,7 +221,7 @@ ERROR: DEFAULT: type mismatched
221221
<para>
222222
<note>
223223
<para>
224-
As of Postgres version 6.0, consistent array dimensions within an
224+
Consistent array dimensions within an
225225
attribute are not enforced. This will likely change in a future
226226
release.
227227
</para>

doc/src/sgml/ref/fetch.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/fetch.sgml,v 1.10 2000/05/11 17:32:33 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/fetch.sgml,v 1.11 2000/07/22 02:39:10 momjian Exp $
33
Postgres documentation
44
-->
55

@@ -355,7 +355,7 @@ COMMIT WORK;
355355

356356
<para>
357357
<acronym>SQL92</acronym> allows absolute positioning of the cursor for
358-
FETCH, and allows placing the results into explicit variables.
358+
FETCH, and allows placing the results into explicit variables:
359359

360360
<synopsis>
361361
FETCH ABSOLUTE <replaceable class="PARAMETER">#</replaceable>

doc/src/sgml/ref/pg_upgrade.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/Attic/pg_upgrade.sgml,v 1.10 2000/07/21 00:24:37 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/Attic/pg_upgrade.sgml,v 1.11 2000/07/22 02:39:10 momjian Exp $
33
Postgres documentation
44
-->
55

@@ -78,7 +78,7 @@ $ pg_dumpall -s >db.out
7878

7979
<step performance="required">
8080
<para>
81-
Do
81+
Do:
8282
<programlisting>
8383
$ make install
8484
</programlisting>

doc/src/sgml/ref/update.sgml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/update.sgml,v 1.10 2000/06/09 01:44:00 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/update.sgml,v 1.11 2000/07/22 02:39:10 momjian Exp $
33
Postgres documentation
44
-->
55

@@ -157,8 +157,12 @@ UPDATE <replaceable class="parameter">#</replaceable>
157157
Change word "Drama" with "Dramatic" on column kind:
158158

159159
<programlisting>
160-
UPDATE films SET kind = 'Dramatic' WHERE kind = 'Drama';
161-
SELECT * FROM films WHERE kind = 'Dramatic' OR kind = 'Drama';
160+
UPDATE films
161+
SET kind = 'Dramatic'
162+
WHERE kind = 'Drama';
163+
SELECT *
164+
FROM films
165+
WHERE kind = 'Dramatic' OR kind = 'Drama';
162166

163167
code | title | did | date_prod | kind | len
164168
-------+---------------+-----+------------+----------+-------

0 commit comments

Comments
 (0)