Cleanups
authorBruce Momjian
Sat, 22 Jul 2000 02:39:10 +0000 (02:39 +0000)
committerBruce Momjian
Sat, 22 Jul 2000 02:39:10 +0000 (02:39 +0000)
doc/src/sgml/ref/alter_group.sgml
doc/src/sgml/ref/alter_table.sgml
doc/src/sgml/ref/alter_user.sgml
doc/src/sgml/ref/cluster.sgml
doc/src/sgml/ref/copy.sgml
doc/src/sgml/ref/create_function.sgml
doc/src/sgml/ref/create_rule.sgml
doc/src/sgml/ref/create_table.sgml
doc/src/sgml/ref/fetch.sgml
doc/src/sgml/ref/pg_upgrade.sgml
doc/src/sgml/ref/update.sgml

index debbe979e1a0ff145d7e46ba629e41db0b4a6d0e..6fb399c15306cc1a7fa47d7d7f608dd452a46820 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -114,7 +114,7 @@ ALTER GROUP name DROP USER 
 ALTER GROUP staff ADD USER karl, john
 
 
-   Remove a user from a group
+   Remove a user from a group:
 
 
 ALTER GROUP workers DROP USER beth
index 91f08a7885c1f7b86e97095bd4d17c96d53c2f7f..aa133b493bbe8fd954e1d1c93cb182a7dbe85eb0 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -307,7 +307,7 @@ CREATE TABLE temp AS SELECT did, city FROM distributors;
 DROP TABLE distributors;
 CREATE TABLE distributors (
     did      DECIMAL(3)  DEFAULT 1,
-    name     VARCHAR(40) NOT NULL,
+    name     VARCHAR(40) NOT NULL
 );
 INSERT INTO distributors SELECT * FROM temp;
 DROP TABLE temp;
index d97648e052166a7d564b6d9db739a5a5cb3a7ac1..922633a74abd35bf77b7034c4b1cac070f2bbf3a 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -160,7 +160,7 @@ ERROR:  ALTER USER: user "username" does not exist
 ALTER USER davide WITH PASSWORD 'hu8jmn3';
 
 
-   Change a user's valid until date
+   Change a user's valid until date:
 
 
 ALTER USER manuel VALID UNTIL 'Jan 31 2030';
@@ -168,12 +168,12 @@ ALTER USER manuel VALID UNTIL 'Jan 31 2030';
 
    Change a user's valid until date, specifying that his
    authorisation should expire at midday on 4th May 1998 using
-   the time zone which is one hour ahead of UTC
+   the time zone which is one hour ahead of UTC:
 
 ALTER USER chris VALID UNTIL 'May 4 12:00:00 1998 +1';
 
 
-   Give a user the ability to create other users and new databases.
+   Give a user the ability to create other users and new databases:
 
 
 ALTER USER miriam CREATEUSER CREATEDB;
index 2b66cf869077e391a597944bd06cc5a64fee4f9c..3d7145c2dbf10eae6ef42bac2b010965718f2c4f 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -204,7 +204,7 @@ SELECT columnlist INTO TABLE 
    Usage
   
   
-   Cluster the employees relation on the basis of its salary attribute
+   Cluster the employees relation on the basis of its salary attribute:
   
   
 CLUSTER emp_ind ON emp;
index bdebff077b118f43e654d3bc084f8fb44768a335..4772ad0530a8477a933e399b3c6cc273769dc3eb 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -407,7 +407,7 @@ ERROR: reason
   
   
 The following example copies a table to standard output,
- using a vertical bar ("|") as the field
+ using a pipe (|) as the field
  delimiter:
   
   
index 708d0745eec5c351dfc887012184a56c0aed2260..e75d86cd2e0ff48c4a5c8dc81c63805908540353 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -293,7 +293,7 @@ CREATE TABLE product (
    find a type conversion function automatically, the sql function has
    to have the same name as the return type, and overloading is
    unavoidable.  The function name is overloaded by using the second
-   form of the AS clause in the SQL definition
+   form of the AS clause in the SQL definition:
   
   
 CREATE FUNCTION point(complex) RETURNS point
index e8be38230450a2e2637b64d8a0f478a5e32d0c7a..12be4c87e40ff2ec120d0552cb2547572ed4a487 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -203,7 +203,7 @@ ON UPDATE TO emp-1.salary WHERE emp-2.name = "Joe"
     report an error because the query cycled too many times:
 
     
-     Example of a circular rewrite rule combination<span class="marked">.</span>
+     Example of a circular rewrite rule combination<span class="marked">:</span>
      
 CREATE RULE bad_rule_combination_1 AS
     ON SELECT TO emp
@@ -220,7 +220,7 @@ CREATE RULE bad_rule_combination_2 AS
      
       This attempt to select from EMP will cause
       Postgres to issue an error
-      because the queries cycled too many times.
+      because the queries cycled too many times:
       
 SELECT * FROM emp;
       
index dd23c1f40e04da7bfd183263ea307744bcb48d2d..7dc04b0aaf4d107a514866358e78d6d897524599 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -221,7 +221,7 @@ ERROR:  DEFAULT: type mismatched
   
    
     
-     As of Postgres version 6.0, consistent array dimensions within an
+     Consistent array dimensions within an
      attribute are not enforced. This will likely change in a future
      release.
     
index 89b3831b59838e0e51b8fc4a780bd419f015ac67..6c0edfd0745ba23a26fc109d71b5ccfc2e2bebc9 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -355,7 +355,7 @@ COMMIT WORK;
 
    
     SQL92 allows absolute positioning of the cursor for
-    FETCH, and allows placing the results into explicit variables.
+    FETCH, and allows placing the results into explicit variables:
 
     
 FETCH ABSOLUTE #
index 879f53d540df3b981bfe9a41343aa423fe6e18a3..64a2e91b75d31db3a81f805ecbc8b017e8eaf23e 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -78,7 +78,7 @@ $ pg_dumpall -s >db.out
 
    
     
-     Do
+     Do:
      
 $ make install
      
index 85da5c1f2d2cb99b018cd26c7387b4ff0770dd3c..035e3adb224383fb56b10922a85a9d94d501348e 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -157,8 +157,12 @@ UPDATE #
    Change word "Drama" with "Dramatic" on column kind:
 
 
-UPDATE films SET kind = 'Dramatic' WHERE kind = 'Drama';
-SELECT * FROM films WHERE kind = 'Dramatic' OR kind = 'Drama';
+UPDATE films 
+SET kind = 'Dramatic' 
+WHERE kind = 'Drama';
+SELECT * 
+FROM films 
+WHERE kind = 'Dramatic' OR kind = 'Drama';
 
  code  |     title     | did | date_prod  |   kind   | len
 -------+---------------+-----+------------+----------+-------