Minor SGML style police work.
authorNeil Conway
Sat, 18 Feb 2006 23:14:45 +0000 (23:14 +0000)
committerNeil Conway
Sat, 18 Feb 2006 23:14:45 +0000 (23:14 +0000)
doc/src/sgml/ddl.sgml
doc/src/sgml/dml.sgml
doc/src/sgml/plpgsql.sgml
doc/src/sgml/queries.sgml
doc/src/sgml/ref/alter_function.sgml

index d55dffa8f6281db21ed6e4b7e3eef887e4337c80..e7d590dfacd1a87e6361c288ff7c03a6b287ac48 100644 (file)
@@ -1,4 +1,4 @@
-
+
 
 
  Data Definition
   
 
   
-   To create a table, you use the aptly named CREATE
-   TABLE command.  In this command you specify at least a
-   name for the new table, the names of the columns and the data type
-   of each column.  For example:
+   To create a table, you use the aptly named 
+   linkend="sql-createtable" endterm="sql-createtable-title"> command.
+   In this command you specify at least a name for the new table, the
+   names of the columns and the data type of each column.  For
+   example:
 
 CREATE TABLE my_first_table (
     first_column text,
@@ -136,8 +137,9 @@ CREATE TABLE products (
   
 
   
-   If you no longer need a table, you can remove it using the
-   DROP TABLE command.  For example:
+   If you no longer need a table, you can remove it using the 
+   linkend="sql-droptable" endterm="sql-droptable-title"> command.
+   For example:
 
 DROP TABLE my_first_table;
 DROP TABLE products;
@@ -1487,9 +1489,9 @@ REVOKE ALL ON accounts FROM PUBLIC;
    
 
    
-    To create a schema, use the command CREATE
-    SCHEMA.  Give the schema a name of your choice.  For
-    example:
+    To create a schema, use the 
+    endterm="sql-createschema-title"> command.  Give the schema a name
+    of your choice.  For example:
 
 CREATE SCHEMA myschema;
 
index 879e4510d375402bf39976ae937c2738d1ce66c1..fcea6ad65fe8fa35a4a9023deec5819fb1adfeff 100644 (file)
@@ -1,4 +1,4 @@
-
+
 
 
  Data Manipulation
@@ -39,7 +39,7 @@
 
   
    To create a new row, use the 
-   xreflabel="sql-insert-title"> command.  The command requires the
+   endterm="sql-insert-title"> command.  The command requires the
    table name and a value for each of the columns of the table.  For
    example, consider the products table from :
 
@@ -95,12 +95,12 @@ INSERT INTO products DEFAULT VALUES;
 
   
    
-    To do bulk loads, that is, inserting a lot of data,
-    take a look at the 
-    endterm="sql-copy-title"> command.  It is not as flexible as the
-      command, 
-    but is more efficient. Refer to  for more 
-    information on improving bulk loading performance.
+    When inserting a lot of data at the same time, considering using
+    the  command.
+    It is not as flexible as the 
+    endterm="sql-insert-title"> command, but is more efficient. Refer
+    to  for more information on improving
+    bulk loading performance.
    
   
  
@@ -224,11 +224,10 @@ UPDATE mytable SET a = 5, b = 3, c = 1 WHERE a > 0;
   
 
   
-   You use the 
-   xreflabel="sql-delete-title"> command to remove rows; the syntax is
-   very similar to the UPDATE command.  For
-   instance, to remove all rows from the products table that have a
-   price of 10, use
+   You use the 
+   command to remove rows; the syntax is very similar to the
+   UPDATE command.  For instance, to remove all
+   rows from the products table that have a price of 10, use
 
 DELETE FROM products WHERE price = 10;
 
index f0f5aec431560fb891de654c19dbad34f969e74c..4e56f75852a27dbea2a8f57e531766b86af2e733 100644 (file)
@@ -1,5 +1,5 @@
 
 
  
@@ -1594,7 +1594,7 @@ SELECT * FROM some_func();
        allow users to define set-returning functions
        that do not have this limitation.  Currently, the point at
        which data begins being written to disk is controlled by the
-        xreflabel="work_mem">
+       
        configuration variable.  Administrators who have sufficient
        memory to store larger result sets in memory should consider
        increasing this parameter.
@@ -3642,11 +3642,12 @@ $$ LANGUAGE plpgsql;
 
     
      PostgreSQL gives you two function creation
-     modifiers to optimize execution: volatility (whether the
-     function always returns the same result when given the same
-     arguments) and strictness (whether the
-     function returns null if any argument is null).  Consult the
-      reference page for details.
+     modifiers to optimize execution: volatility (whether
+     the function always returns the same result when given the same
+     arguments) and strictness (whether the function
+     returns null if any argument is null).  Consult the 
+     linkend="sql-createfunction" endterm="sql-createfunction-title">
+     reference page for details.
     
 
     
index 9ba277380301b566cd58e6d403e8e3fd4d25c277..cb8f2a1e5ac2aa99943b66a6bfa9fb9703effc93 100644 (file)
@@ -1,4 +1,4 @@
-
+
 
 
  Queries
@@ -24,8 +24,9 @@
   
    The process of retrieving or the command to retrieve data from a
    database is called a query.  In SQL the
-   SELECT command is used to specify queries.  The
-   general syntax of the SELECT command is
+    command is
+   used to specify queries.  The general syntax of the
+   SELECT command is
 
 SELECT select_list FROM table_expression sort_specification
 
@@ -1284,7 +1285,7 @@ SELECT a FROM table1 ORDER BY b;
 
 SELECT select_list
     FROM table_expression
-    LIMIT { number | ALL } OFFSET number
+     LIMIT { number | ALL }   OFFSET number 
 
   
 
index 3f05216c07805b5698f56dc186c312f6f2996337..978847a47b083b63cfabbda4f87e0938a0ba2664 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -151,8 +151,8 @@ where action is one of:
        null. RETURNS NULL ON NULL INPUT or
        STRICT changes the function so that it is not
        invoked if any of its arguments are null; instead, a null result
-       is assumed automatically.  See 
-       linkend="sql-createfunction"> for more information.
+       is assumed automatically.  See  linkend="sql-createfunction"
+       endterm="sql-createfunction-title"> for more information.
       
      
    
@@ -164,8 +164,9 @@ where action is one of:
 
      
       
-       Change the volatility of the function to the specified
-       setting.  See  for details.
+       Change the volatility of the function to the specified setting.
+       See 
+       endterm="sql-createfunction-title"> for details.
       
     
    
@@ -178,8 +179,9 @@ where action is one of:
      
       Change whether the function is a security definer or not. The
       key word EXTERNAL is ignored for SQL
-      conformance. See  for more
-      information about this capability.
+      conformance. See 
+      endterm="sql-createfunction-title"> for more information about
+      this capability.