Remove a bunch of content-free Diagnostics sections, as per previous
authorTom Lane
Tue, 9 Sep 2003 18:28:53 +0000 (18:28 +0000)
committerTom Lane
Tue, 9 Sep 2003 18:28:53 +0000 (18:28 +0000)
discussion.  (Still have some work to do editing the remainder.)

70 files changed:
doc/src/sgml/ref/abort.sgml
doc/src/sgml/ref/alter_aggregate.sgml
doc/src/sgml/ref/alter_conversion.sgml
doc/src/sgml/ref/alter_database.sgml
doc/src/sgml/ref/alter_domain.sgml
doc/src/sgml/ref/alter_function.sgml
doc/src/sgml/ref/alter_group.sgml
doc/src/sgml/ref/alter_language.sgml
doc/src/sgml/ref/alter_opclass.sgml
doc/src/sgml/ref/alter_schema.sgml
doc/src/sgml/ref/alter_sequence.sgml
doc/src/sgml/ref/alter_table.sgml
doc/src/sgml/ref/alter_trigger.sgml
doc/src/sgml/ref/alter_user.sgml
doc/src/sgml/ref/analyze.sgml
doc/src/sgml/ref/begin.sgml
doc/src/sgml/ref/close.sgml
doc/src/sgml/ref/cluster.sgml
doc/src/sgml/ref/clusterdb.sgml
doc/src/sgml/ref/comment.sgml
doc/src/sgml/ref/commit.sgml
doc/src/sgml/ref/copy.sgml
doc/src/sgml/ref/create_aggregate.sgml
doc/src/sgml/ref/create_cast.sgml
doc/src/sgml/ref/create_constraint.sgml
doc/src/sgml/ref/create_conversion.sgml
doc/src/sgml/ref/create_domain.sgml
doc/src/sgml/ref/create_function.sgml
doc/src/sgml/ref/create_group.sgml
doc/src/sgml/ref/create_index.sgml
doc/src/sgml/ref/create_language.sgml
doc/src/sgml/ref/create_opclass.sgml
doc/src/sgml/ref/create_operator.sgml
doc/src/sgml/ref/create_rule.sgml
doc/src/sgml/ref/create_schema.sgml
doc/src/sgml/ref/create_table.sgml
doc/src/sgml/ref/create_table_as.sgml
doc/src/sgml/ref/create_trigger.sgml
doc/src/sgml/ref/create_type.sgml
doc/src/sgml/ref/create_user.sgml
doc/src/sgml/ref/deallocate.sgml
doc/src/sgml/ref/drop_aggregate.sgml
doc/src/sgml/ref/drop_domain.sgml
doc/src/sgml/ref/drop_function.sgml
doc/src/sgml/ref/drop_group.sgml
doc/src/sgml/ref/drop_index.sgml
doc/src/sgml/ref/drop_language.sgml
doc/src/sgml/ref/drop_opclass.sgml
doc/src/sgml/ref/drop_operator.sgml
doc/src/sgml/ref/drop_rule.sgml
doc/src/sgml/ref/drop_schema.sgml
doc/src/sgml/ref/drop_sequence.sgml
doc/src/sgml/ref/drop_table.sgml
doc/src/sgml/ref/drop_trigger.sgml
doc/src/sgml/ref/drop_type.sgml
doc/src/sgml/ref/drop_view.sgml
doc/src/sgml/ref/explain.sgml
doc/src/sgml/ref/fetch.sgml
doc/src/sgml/ref/lock.sgml
doc/src/sgml/ref/notify.sgml
doc/src/sgml/ref/prepare.sgml
doc/src/sgml/ref/reindex.sgml
doc/src/sgml/ref/reset.sgml
doc/src/sgml/ref/rollback.sgml
doc/src/sgml/ref/select_into.sgml
doc/src/sgml/ref/set_transaction.sgml
doc/src/sgml/ref/show.sgml
doc/src/sgml/ref/start_transaction.sgml
doc/src/sgml/ref/truncate.sgml
doc/src/sgml/ref/unlisten.sgml

index e83b21e4d571e545b3cd1c0fc63114b46ba8d467..f0e436fccd4b37cf505bd542871418e72cdd37ca 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -31,7 +31,8 @@ ABORT [ WORK | TRANSACTION ]
    ABORT rolls back the current transaction and causes
    all the updates made by the transaction to be discarded. 
    This command is identical
-   in behavior to the standard SQL command ROLLBACK,
+   in behavior to the standard SQL command
+   ,
    and is present only for historical reasons.
   
  
@@ -52,36 +53,17 @@ ABORT [ WORK | TRANSACTION ]
   
  
 
-  Diagnostics
-
-  
-   
-    ROLLBACK
-    
-     
-      Message returned if successful.
-     
-    
-   
-
-   
-    WARNING:  ROLLBACK: no transaction in progress
-    
-     
-      If there is not any transaction currently in progress.
-     
-    
-   
-  
-
  
   Notes
 
   
-   Use COMMIT to successfully
-   terminate a transaction.
+   Use  to
+   successfully terminate a transaction.
+  
+
+  
+   Issuing ABORT when not inside a transaction does
+   no harm, but it will provoke a warning message.
   
  
 
@@ -106,6 +88,15 @@ ABORT;
   
  
 
+  See Also
+
+  
+   
+   
+   
+  
 
 
 
 
@@ -29,8 +29,8 @@ ALTER AGGREGATE name ( type
 
   
    ALTER AGGREGATE changes the definition of an
-   aggregate function.  The only functionality is to rename the
-   aggregate function.
+   aggregate function.  The only currently available functionality is to
+   rename the aggregate function.
   
  
   
@@ -67,21 +67,6 @@ ALTER AGGREGATE name ( type
    
   
  
-   
-  Diagnostics
-
-  
-   
-    ALTER AGGREGATE
-    
-     
-      Message returned if the command was successful.
-     
-    
-   
-  
 
  
   Examples
index d1ab87c3b5f06ccc1b2c728d834d4c2b0462f16d..5b07ef2b1db29326be2ee2da8c3253b755f5d4ff 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -29,7 +29,8 @@ ALTER CONVERSION name RENAME TO newname<
 
   
    ALTER CONVERSION changes the definition of a
-   conversion.  The only functionality is to rename the conversion.
+   conversion.  The only currently available functionality is to rename the
+   conversion.
   
  
   
@@ -56,21 +57,6 @@ ALTER CONVERSION name RENAME TO newname<
    
   
  
-   
-  Diagnostics
-
-  
-   
-    ALTER CONVERSION
-    
-     
-      Message returned if the command was successful.
-     
-    
-   
-  
 
  
   Examples
index 6e8da1f0308944b6a6ffaf2bfb1dcbde9f1ab8f8..cdc5e7f13e3203fb258994d6daeca997325fa4c8 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -103,31 +103,6 @@ ALTER DATABASE name RENAME TO 
   
  
 
-  Diagnostics
-
-   
-    
-     ALTER DATABASE
-     
-      
-       Message returned if the alteration was successful.
-      
-     
-    
-     
-    
-     ERROR:  database "dbname" does not exist
-     
-      
-       Error message returned if the specified database is not known
-       to the system.
-      
-     
-    
-   
-
  
   Notes
 
index f31311b6331d5849789908e698fdadfeeaf6a40e..09e3db3ad8b367f3de98ea0d262c2391ed1d1e52 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -23,9 +23,6 @@ PostgreSQL documentation
  
 
  
-  
-   2002-11-27
-  
   
 ALTER DOMAIN domain
     { SET DEFAULT value | DROP DEFAULT }
@@ -38,116 +35,11 @@ ALTER DOMAIN domain
 ALTER DOMAIN domain
     OWNER TO new_owner 
   
-
-  
-   
-    2002-11-27
-   
-   </div> <div class="diff rem">-    Inputs</div> <div class="diff rem">-   
-   
-    
-
-     
-       domain 
-      
-       
-   The name (possibly schema-qualified) of an existing domain to
-   alter.
-       
-      
-     
-
-     
-       domain_constraint 
-      
-       
-   New domain constraint for the domain.
-       
-      
-     
-
-     
-       constraint_name 
-      
-       
-   Name of an existing constraint to drop.
-       
-      
-     
-
-     
-      CASCADE
-      
-       
-        Automatically drop objects that depend on the constraint.
-       
-      
-     
-
-     
-      RESTRICT
-      
-       
-        Refuse to drop the constraint if there are any dependent
-   objects. This is the default behavior.
-       
-      
-     
-
-     
-      new_owner
-      
-       
-   The user name of the new owner of the domain.
-       
-      
-     
-
-    
-   
-  
-
-  
-   
-    1998-04-15
-   
-   </div> <div class="diff rem">-    Outputs</div> <div class="diff rem">-   
-   
-
-    
-     
-      ALTER DOMAIN
-      
-       
-   Message returned from domain alteration.
-       
-      
-     
-
-     
-      ERROR
-      
-       
-   Message returned if domain is not available.
-       
-      
-     
-    
-   
-  
  
 
-  
-   2002-11-27
-  
-  </div> <div class="diff rem">-   Description</div> <div class="diff rem">-  
+  Description
+
   
    ALTER DOMAIN changes the definition of an existing domain.
    There are several sub-forms:
@@ -213,10 +105,74 @@ ALTER DOMAIN domain
   
  
 
-  </div> <div class="diff rem">-   Usage</div> <div class="diff rem">-  
+  Parameters
+
+   
+    
+     
+       domain 
+      
+       
+   The name (possibly schema-qualified) of an existing domain to
+   alter.
+       
+      
+     
+
+     
+       domain_constraint 
+      
+       
+   New domain constraint for the domain.
+       
+      
+     
+
+     
+       constraint_name 
+      
+       
+   Name of an existing constraint to drop.
+       
+      
+     
+
+     
+      CASCADE
+      
+       
+        Automatically drop objects that depend on the constraint.
+       
+      
+     
+
+     
+      RESTRICT
+      
+       
+        Refuse to drop the constraint if there are any dependent
+   objects. This is the default behavior.
+       
+      
+     
+
+     
+      new_owner
+      
+       
+   The user name of the new owner of the domain.
+       
+      
+     
+
+    
+   
+  
+
+  Examples
+
   
    To add a NOT NULL constraint to a domain:
    
@@ -243,6 +199,15 @@ ALTER DOMAIN zipcode DROP CONSTRAINT zipchk;
   
  
 
+  Compatibility
+    
+  
+   The ALTER DOMAIN statement is compatible with SQL99,
+   except for the OWNER variant, which is a
+   PostgreSQL extension.
+  
 
 
 
 
@@ -65,21 +65,6 @@ ALTER FUNCTION name ( [ 
    
   
  
-   
-  Diagnostics
-
-  
-   
-    ALTER FUNCTION
-    
-     
-      Message returned if the command was successful.
-     
-    
-   
-  
 
  
   Examples
index d306b9525582c9302adb6950539514bcd74d79a9..b9819f4a5268b372682b7a36075e0a7c13fa6b0e 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -78,21 +78,6 @@ ALTER GROUP groupname RENAME TO 
   
  
 
-  Diagnostics
-
-  
-   
-    ALTER GROUP
-    
-     
-      Message returned if the alteration was successful.
-     
-    
-   
-  
-
  
   Examples
   
index c20ceded6434c1f6fcbc813c3c39758dc56c96b4..61595252ebff1009564547a2756b5b202a3be5fc 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -58,21 +58,6 @@ ALTER LANGUAGE name RENAME TO newname
   
  
 
-  Diagnostics
-
-  
-   
-    ALTER LANGUAGE
-    
-     
-      Message returned if the alteration was successful.
-     
-    
-   
-  
-
  
   Compatibility
     
index be31dd98eb36e75236f612cbad3c0b67ca9405c2..3a4ec0c7df7d3a9fa25e773a10a2055d3922ac6d 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -67,21 +67,6 @@ ALTER OPERATOR CLASS name USING 
    
   
  
-   
-  Diagnostics
-
-  
-   
-    ALTER OPERATOR CLASS
-    
-     
-      Message returned if the command was successful.
-     
-    
-   
-  
 
  
   Compatibility
index 940e3d5623574ee0c176c68d41ee4a87bd9d57ab..473b57314d4a46bd6025a3aae099e7726321bcbf 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -59,21 +59,6 @@ ALTER SCHEMA name RENAME TO newname
   
  
 
-  Diagnostics
-
-  
-   
-    ALTER SCHEMA
-    
-     
-      Message returned if the alteration was successful.
-     
-    
-   
-  
-
  
   Compatibility
     
index f12e9ad85a0048801b9667647e39d175484d208c..f4b114da4bdbcacf45285192ca906d2dfd1ddc34 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -23,24 +23,27 @@ PostgreSQL documentation
  
 
  
-  
-   1999-07-20
-  
   
 ALTER SEQUENCE seqname [ INCREMENT [ BY ] increment ]
     [ MINVALUE minvalue | NO MINVALUE ] [ MAXVALUE maxvalue | NO MAXVALUE ]
     [ RESTART [ WITH ] start ] [ CACHE cache ] [ [ NO ] CYCLE ]
   
-  
-  
-   
-    1998-09-11
-   
-   </div> <div class="diff rem">-    Inputs</div> <div class="diff rem">-   
-   
 
+  Description
+
+  
+   ALTER SEQUENCE changes the parameters of an existing
+   sequence generator.  Any parameter not specifically set in the
+   ALTER SEQUENCE command retains its prior setting.
+  
+
+  Parameters
+
+   
     
      
       seqname
@@ -100,8 +103,8 @@ ALTER SEQUENCE seqname [ INCREMENT
       
        
    The optional 
-    start
-    clause enables the sequence to re-begin anywhere.
+    start
+    clause changes the current value of the sequence.
        
       
      
@@ -151,78 +154,11 @@ ALTER SEQUENCE seqname [ INCREMENT
    
     
    
-  
-
-  
-   
-    1998-09-11
-   
-   </div> <div class="diff rem">-    Outputs</div> <div class="diff rem">-   
-   
-
-    
-     
-      
-ALTER SEQUENCE
-       
-      
-       
-   Message returned if the command is successful.
-       
-      
-     
-     
-      
-ERROR:  AlterSequence: MINVALUE (start) can't be >= MAXVALUE (max)
-       
-      
-       
-   If the specified starting value is out of range.
-       
-      
-     
-     
-      
-ERROR:  AlterSequence: START value (start) can't be < MINVALUE (min)
-       
-      
-       
-   If the specified starting value is out of range.
-       
-      
-     
-     
-      
-ERROR:  AlterSequence: MINVALUE (min) can't be >= MAXVALUE (max)
-       
-      
-       
-   If the minimum and maximum values are inconsistent.
-       
-      
-     
-    
-   
-  
+  
 
-  </div> <div class="diff rem">-   Description</div> <div class="diff rem">-  
-
-  
-   See  for limitations, and uses
-   of sequences.
-  
+  Examples
 
-  </div> <div class="diff rem">-   Usage</div> <div class="diff rem">-  
   
    Restart a sequence called serial, at 105:
   
@@ -231,35 +167,31 @@ ALTER SEQUENCE serial RESTART WITH 105;
   
  
 
-  </div> <div class="diff rem">-   Notes</div> <div class="diff rem">-  
+  Notes
+
   
-   To avoid blocking of concurrent transactions that obtain numbers from the same
-   sequence, a nextval operation is never rolled back; that is, once a value has 
-   been fetched it is considered used, even if the transaction that did the nextval
-   later aborts. This means that aborted transactions may leave unused "holes" in
-   the sequence of assigned values. setval operations are never rolled back, either.
+   To avoid blocking of concurrent transactions that obtain numbers from the
+   same sequence, ALTER SEQUENCE is never rolled back;
+   the changes take effect immediately and are not reversible.
   
+
   
-   ALTER SEQUENCE will not immediately affect backends, other than the
-   current one, which have cached sequence values. They must use up all cached values
-   prior to noticing the changed sequence parameters.  The current backend will be 
-   immediatly affected.
+   ALTER SEQUENCE will not immediately affect
+   nextval results in backends,
+   other than the current one, that have preallocated (cached) sequence
+   values. They will use up all cached values prior to noticing the changed
+   sequence parameters.  The current backend will be affected immediately.
   
  
 
 
 id="R1-SQL-ALTERSEQUENCE-3">
   </div> <div class="diff ctx">    Compatibility</div> <div class="diff ctx">   
 
-  
-   
-    2003-03-02
-   
+  
    </div> <div class="diff ctx">     SQL99</div> <div class="diff ctx">    
index 2dd377c05863ea855d2ae8663b2a79e03f79f1b8..87d1a645775c7ee8a273e81e24056482fc78ec17 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -331,30 +331,6 @@ ALTER TABLE table
     
  
 
-  Diagnostics
-
-    
-     
-      ALTER TABLE
-      
-       
-   Message returned if successful.
-       
-      
-     
-
-     
-      ERROR
-      
-       
-   Message returned if table or column does not exist.
-       
-      
-     
-    
-
  
   Notes
 
index f8409136522b672c45704cd6d13dbe25769eed57..ee7afa87d89d3239eae1836aaacc88e32769957a 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -41,7 +41,7 @@ ALTER TRIGGER trigger ON 
  
 
  
-  Parameter
+  Parameter<span class="marked">s</span>
 
   
    
@@ -73,31 +73,6 @@ ALTER TRIGGER trigger ON 
   
  
 
-  Diagnostics
-
-  
-   
-    ALTER TRIGGER
-    
-     
-      Message returned if successful.
-     
-    
-   
-
-   
-    ERROR
-    
-     
-      If the trigger does not exist, or the new name is a duplicate of
-      another existing trigger on the table.
-     
-    
-   
-  
-
  
   Examples
 
index f3c7292718c034b0b87118aacf409b4d7a23de89..3db6df00528950a3967bad1fa2e099f63ddbddb3 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -175,31 +175,6 @@ ALTER USER username RESET 
     
  
 
-  Diagnostics
-
-   
-    
-     ALTER USER
-     
-      
-       Message returned if the alteration was successful.
-      
-     
-    
-     
-    
-     ERROR:  ALTER USER: user "username" does not exist
-     
-      
-       Error message returned if the specified user is not known to
-       the database system.
-      
-     
-    
-   
-
  
   Notes
 
index 93d867636336ab9622d99da9879b2cc5a847b194..f0be5af1dbdab40aceba6dc10ac964b15e2803f7 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -77,21 +77,6 @@ ANALYZE [ VERBOSE ] [ table [ (
   
  
 
-  Diagnostics
-
-  
-   
-    ANALYZE
-    
-     
-      The command is complete.
-     
-    
-   
-  
-
  
   Notes
 
index 67393c891b1c0c1eb4befc585cc8eff23e0a361f..5acab231b3c2847264b9485e27fc0449f1a0d19d 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -28,21 +28,25 @@ BEGIN [ WORK | TRANSACTION ]
   Description
 
   
-   By default, PostgreSQL executes
-   transactions in autocommit mode, that is, each
-   statement is executed in its own transaction and a commit is
-   implicitly performed at the end of the statement (if execution was
-   successful, otherwise a rollback is done).
    BEGIN initiates a transaction block, that is,
    all statements after BEGIN command will be
    executed in a single transaction until an explicit 
    linkend="sql-commit" endterm="sql-commit-title"> or 
-   linkend="sql-rollback" endterm="sql-rollback-title">.  Statements
-   are executed more quickly in a transaction block, because
+   linkend="sql-rollback" endterm="sql-rollback-title"> is given.
+   By default (without BEGIN),
+   PostgreSQL executes
+   transactions in autocommit mode, that is, each
+   statement is executed in its own transaction and a commit is
+   implicitly performed at the end of the statement (if execution was
+   successful, otherwise a rollback is done).
+  
+
+  
+   Statements are executed more quickly in a transaction block, because
    transaction start/commit requires significant CPU and disk
    activity. Execution of multiple statements inside a transaction is
-   also useful to ensure consistency when changing several related
-   tables: other sessions will be unable to see the intermediate states
+   also useful to ensure consistency when making several related changes:
+   other sessions will be unable to see the intermediate states
    wherein not all the related updates have been done.
   
  
@@ -63,31 +67,6 @@ BEGIN [ WORK | TRANSACTION ]
   
  
   
-  Diagnostics
-
-  
-   
-    BEGIN
-    
-     
-      This signifies that a new transaction has been started.
-     
-    
-   
-
-   
-    WARNING:  BEGIN: already a transaction in progress
-    
-     
-      This indicates that a transaction was already in progress.  The
-      current transaction is not affected.
-     
-    
-   
-  
-  
  
   Notes
 
@@ -100,7 +79,12 @@ BEGIN [ WORK | TRANSACTION ]
   
    Use  or
    
-   to terminate a transaction.
+   to terminate a transaction block.
+  
+
+  
+   Issuing BEGIN when already inside a transaction block will
+   provoke a warning message.  The state of the transaction is not affected.
   
  
 
@@ -138,6 +122,15 @@ BEGIN;
    about the transaction semantics when porting database applications.
   
  
+
+  See Also
+
+  
+   
+   
+  
 
  
 
 
@@ -37,9 +37,10 @@ CLOSE cursor
   
    Every non-holdable open cursor is implicitly closed when a
    transaction is terminated by COMMIT or
-   ROLLBACK. Holdable cursors are implicitely
-   closed if the transaction that created them aborts via
-   ROLLBACK; if this does not happen, the holdable
+   ROLLBACK.  A holdable cursor is implicitly
+   closed if the transaction that created it aborts via
+   ROLLBACK.  If the creating transaction successfully
+   commits, the holdable
    cursor remains open until an explicit CLOSE is
    executed, or the client disconnects.
   
@@ -59,32 +60,6 @@ CLOSE cursor
    
   
  
-  
-  Diagnostics
-
-  
-   
-    CLOSE CURSOR
-    
-     
-      Message returned if the cursor is successfully closed.
-     
-    
-   
-
-   
-    ERROR:  cursor "cursor" does not exist
-    
-     
-      Message returned if 
-      class="PARAMETER">cursor is not declared or has
-      already been closed.
-     
-    
-   
-  
 
  
   Notes
index eaa1763d2ae8897fce36196f4a54046aa25b352a..1eaa97e2e1e3121cd5aed555a0cc03e38fc69021 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -97,21 +97,6 @@ CLUSTER
   
  
 
-  Diagnostics
-
-  
-   
-    CLUSTER
-    
-     
-      The clustering was done successfully.
-     
-    
-   
-  
-
  
   Notes
 
index dce618f3c01121c6936c68f7e65dd9d781a520e3..8d4e082ec079e7f8897fe3dbb898eda49ed0b081 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -54,6 +54,12 @@ PostgreSQL documentation
    library will apply.
   
 
+  
+   In case of difficulty, see 
+   endterm="sql-cluster-title"> and  for
+   discussions of potential problems and error messages.
+  
+
  
 
 
@@ -176,37 +182,6 @@ PostgreSQL documentation
  
 
 
-  Diagnostics
-
-   
-    
-     
-      CLUSTER
-      
-       
-        The database was successfully clustered.
-       
-      
-     
-
-     
-      clusterdb: Cluster failed.
-      
-       
-        Something went wrong. clusterdb is only a wrapper
-        script. See 
-        and  for a detailed
-        discussion of error messages and potential problems.
-       
-      
-     
-
-    
-   
-
-
  
   Environment
 
index 6927fb10a4a3758c0834bb8153d20a50344a78e0..7e0f4318bfd034bcca5df8c098ee215530c5139b 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -96,21 +96,6 @@ COMMENT ON
   
  
 
-  Diagnostics
-
-  
-   
-    COMMENT
-    
-     
-      Message returned if the comment was successfully changed.
-     
-    
-   
-  
-
  
   Notes
 
index b4992f73eab89cf8477df0e02e3c398fd7f92a25..1c72ea0b459e7a1af3d039a1c7226e09afcace65 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -49,30 +49,6 @@ COMMIT [ WORK | TRANSACTION ]
    
   
  
-   
-  Diagnostics
-
-  
-   
-    COMMIT
-    
-     
-      Message returned if the transaction was successfully committed.
-     
-    
-   
-
-   
-    WARNING:  COMMIT: no transaction in progress
-    
-     
-      Message if there is no transaction in progress.
-     
-    
-   
-  
 
  
   Notes
@@ -81,6 +57,11 @@ COMMIT [ WORK | TRANSACTION ]
    Use  to
    abort a transaction.
   
+
+  
+   Issuing COMMIT when not inside a transaction does
+   no harm, but it will provoke a warning message.
+  
  
 
  
@@ -103,6 +84,15 @@ COMMIT;
    WORK. Otherwise, this command is fully conforming.
   
  
+
+  See Also
+
+  
+   
+   
+  
 
 
 
 
@@ -172,21 +172,6 @@ COPY table [ ( 
    
   
  
-  
-  Diagnostics
-
-  
-   
-    COPY
-    
-     
-      The copy operation completed successfully.
-     
-    
-   
-  
 
  
   Notes
index f0f212db18df9eadb8344bfae0355d42b640e299..e7d0400ff790e8a1672c6dece82e9fa4a2d4da94 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -218,21 +218,6 @@ CREATE AGGREGATE name (
    written in any order, not just the order illustrated above.
   
  
-
-  Diagnostics
-
-  
-   
-    CREATE AGGREGATE
-    
-     
-      Message returned if the command completes successfully.
-     
-    
-   
-  
   
  
   Examples
index b89aead0bf4bea5a68f6e0064ae333820dcd0e37..08f48fea1dc36b9938c68f6fead19d93a29e3ede 100644 (file)
@@ -1,4 +1,4 @@
-
+
 
 
  
@@ -189,21 +189,6 @@ SELECT 'The time is ' || CAST(now() AS text);
 
  
 
-  Diagnostics
-
-  
-   
-    CREATE CAST
-    
-     
-      Message returned if the cast was successfully created.
-     
-    
-   
-  
-
  
   Notes
 
index 1cfcc39a8ed705375d0ec16ca879f0b1aa71ffc6..d48b3eea952402bc6635581ba99fa1d4cbf0a039 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -99,21 +99,6 @@ CREATE CONSTRAINT TRIGGER name
      
     
  
-
-  Diagnostics
-    
-    
-     
-      CREATE TRIGGER
-      
-       
-   Message returned if successful.
-       
-      
-     
-    
 
 
 
+
 
 
  
@@ -119,21 +119,6 @@ conv_proc(
    
  
 
-  Diagnostics
-
-  
-   
-    CREATE CONVERSION
-    
-     
-      Message returned if the conversion was successfully created.
-     
-    
-   
-  
-
  
   Notes
 
index 6adf9b7ec1b5031c5428cd858c593b9a05608a04..7a71e4a5982a6da1ed70f3a167fcedbd263fe477 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -156,21 +156,6 @@ where constraint is:
   
  
 
-  Diagnostics
-
-  
-   
-    CREATE DOMAIN
-    
-     
-      Message returned if the domain was successfully created.
-     
-    
-   
-  
-
  
   Examples
 
index ef8274494e073265a3037c3bd1b74a1fa842a2df..39ba9ff5881a0c74f0ad80acc90cd95114ecf96d 100644 (file)
@@ -1,5 +1,5 @@
 
 
 
@@ -314,21 +314,6 @@ CREATE [ OR REPLACE ] FUNCTION name
 
  
 
-  Diagnostics
-
-  
-   
-    CREATE FUNCTION
-    
-     
-      Message returned if the function was successfully created.
-     
-    
-   
-  
-
  
   Notes
 
index 1fb983721bfa48411f5d8e378ff7d4ae19bb504a..dea3c18ff9953334b982e814fead240e06e94af0 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -84,21 +84,6 @@ where option can be:
 
     
  
-  
-  Diagnostics
-
-    
-     
-      CREATE GROUP
-      
-       
-   Message returned if the group was successfully created.
-       
-      
-     
-    
 
  
   Examples
index 06c37f497eeeb3f601b2f775f664ae1607219078..3081f68ac859c0fe1c2a15754b79495cfc52c5aa 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -185,21 +185,6 @@ CREATE [ UNIQUE ] INDEX index_name
     
  
 
-  Diagnostics
-
-  
-   
-    CREATE INDEX
-    
-     
-      Message returned if the index was successfully created.
-     
-    
-   
-  
-
  
   Notes
 
index c729ecc56f9ae2e61167f5c43cbac26af5ffce69..45834255bb8fb57babec0df00d0598a45e6d3b55 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -147,21 +147,6 @@ CREATE [ TRUSTED ] [ PROCEDURAL ] LANGUAGE langna
    
  
 
-  Diagnostics
-
-  
-   
-    CREATE LANGUAGE
-    
-     
-      Message returned if the language was successfully created.
-     
-    
-   
-  
-
  
   Notes
 
index f205eab8855768837b2dea48c568af8c0c3c0400..2ecf1cd4f291adc1c820d8e8e1f5d3c55870847d 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -204,21 +204,6 @@ CREATE OPERATOR CLASS name [ DEFAUL
    clauses may appear in any order.
   
  
-
-  Diagnostics
-
-  
-   
-    CREATE OPERATOR CLASS
-    
-     
-      Message returned if the operator class was successfully created.
-     
-    
-   
-  
   
  
   Examples
index 67470102f769d4d46e1ad75abb68bbf3756462a6..d806bdd9d6d66e1c166a51af3d033858b25a6a24 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -253,21 +253,6 @@ COMMUTATOR = OPERATOR(myschema.===) ,
   
   
  
-
-  Diagnostics
-
-  
-   
-    CREATE OPERATOR
-    
-     
-      Message returned if the operator was successfully created.
-     
-    
-   
-  
   
  
   Notes
index 2fccd22a10dd6086de8b0ea9ce540817b5bb2f21..996f5497575436e8931c0278ec666774761088e4 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -166,21 +166,6 @@ CREATE [ OR REPLACE ] RULE name AS
   
  
 
-  Diagnostics
-
-  
-   
-    CREATE RULE
-    
-     
-      Message returned if the rule was successfully created.
-     
-    
-   
-  
-
  
   Notes
 
index 3641587b9ad154923b90b835834d57cd98e1c8f6..cf98557998cf514a600265542a523da9a9282879 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -95,30 +95,6 @@ CREATE SCHEMA AUTHORIZATION username
     
  
 
-  Diagnostics
-
-  
-   
-    CREATE SCHEMA
-    
-     
-      Message returned if the schema was successfully created.
-     
-    
-   
-
-   
-    ERROR:  namespace "schemaname" already exists
-    
-     
-      Message returned if the schema specified already exists.
-     
-    
-   
-  
-
  
   Notes
 
index 23cf859cd50dc9b9c49292a22767b2749253294b..b558731137a94c43f5f5d45cc6eb266c0c6c915d 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -564,23 +564,6 @@ and table_constraint is:
   
      
 
-
-  Diagnostics
-
-  
-   
-    CREATE TABLE
-    
-     
-      Message returned if the table was successfully created.
-     
-    
-   
-  
-
-
  
   Notes
 
index ac05e2d42e559851c2d6447646a803ac2d8ada2d..0d86492b752920fc7041bb6e0a9c1b898bc5a9c1 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -101,18 +101,6 @@ CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } ] TABLE table_name
   
  
 
-  Diagnostics
-
-  
-   Refer to 
-   endterm="sql-createtable-title">, 
-   endterm="sql-select-title">, and 
-   endterm="sql-execute-title"> for a summary of possible output
-   messages.
-  
-
  
   Notes
 
index cf580b1ab934dc33e3e7a0b2316b27c58a6366b1..af75dd9841e5085c5b5649e9d8b5d015976690ae 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -171,21 +171,6 @@ CREATE TRIGGER name { BEFORE | AFTE
   
  
 
-  Diagnostics
-
-  
-   
-    CREATE TRIGGER
-    
-     
-      Message returned if the trigger was successfully created.
-     
-    
-   
-  
-
  
   Notes
 
index 6e98d5e00ff428fb76079242682063197746d0a8..f287c12b4b5ebe77f0c272e9a90431b955ba20f2 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -408,21 +408,6 @@ CREATE TYPE typename (
   
  
 
-  Diagnostics
-
-  
-   
-    CREATE TYPE
-    
-     
-      Message returned if the type was successfully created.
-     
-    
-   
-  
-
  
   Notes
 
index f22b8854f07dcf49e00f61ab0b0e6b2877baff37..ff294c63eae9af6fba258d46f942b727de14689e 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -167,21 +167,6 @@ where option can be:
     
   
 
-  Diagnostics
-
-   
-    
-     CREATE USER
-     
-      
-       Message returned if the user account was successfully created.
-      
-     
-    
-   
-
  
   Notes
 
index 11da825a72361d4ab5e8baea60cf0e40f9cf0886..887831d325f288ba5dd1b8fba54b08a165e096e3 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -63,21 +63,6 @@ DEALLOCATE [ PREPARE ] plan_name
   
  
 
-  Diagnostics
-
-  
-   
-    DEALLOCATE
-    
-     
-      Message returned if the prepared statement was deallocated successfully.
-     
-    
-   
-  
-
  
   Compatibility
 
index 0f19dd6a811e5cdcd160f7efe741abc90344edf7..4ec2d9de1b569a10ec2a2de00fe84fd5e661606b 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -78,31 +78,6 @@ DROP AGGREGATE name ( 
   
  
 
-  Diagnostics
-
-  
-   
-    DROP AGGREGATE
-    
-     
-      Message returned if the command was successful.
-     
-    
-   
-
-   
-    ERROR: RemoveAggregate: aggregate 'name' for type type does not exist
-    
-     
-      This message is returned if the specified aggregate function
-      does not exist.
-     
-    
-   
-  
-
  
   Examples
 
index b8627e5156bba417520f2a45d5f7260679cfa598..e108bfcbbc7599d2570a43167c52e2fca5ed4406 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -68,30 +68,6 @@ DROP DOMAIN domainname [, ...]  [ C
   
  
 
-  Diagnostics
-
-  
-   
-    DROP DOMAIN
-    
-     
-      Message returned if the command was successful.
-     
-    
-   
-
-   
-    ERROR:  RemoveDomain: type 'domainname' does not exist
-    
-     
-      This message occurs if the specified domain does not exist.
-     
-    
-   
-  
-
  
   Examples
 
index 1a51b2b58c5a18907aaf9457533e464e6623d9c4..ec68f162c29323d4ff93c4cf3c07935d0e044885 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -80,30 +80,6 @@ DROP FUNCTION name ( [ 
   
  
 
-  Diagnostics
-
-  
-   
-    DROP FUNCTION
-    
-     
-      Message returned if the command completes successfully.
-     
-    
-   
-
-   
-    WARNING:  RemoveFunction: Function name (types) does not exist
-    
-     
-      This message is output if the function specified does not exist.
-     
-    
-   
-  
-
  
   Examples
 
index ea350586810b44df21f6e1d9594e240c97d0495f..2473ccf2c563121cb670be04cec9889e291d0bca 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -47,21 +47,6 @@ DROP GROUP name
    
   
  
-  
-  Diagnostics
-
-  
-   
-    DROP GROUP
-    
-     
-      Message returned if the group was successfully removed.
-     
-    
-   
-  
 
  
   Examples
index 720d601e76ccf0a5b8e67b45d172c0c775da0858..9f71d0cf07b437b31c3e323f8a1d8099e88516fb 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -68,32 +68,6 @@ DROP INDEX name [, ...] [ CASCADE |
   
  
 
-  Diagnostics
-
-  
-   
-    DROP INDEX
-    
-     
-      Message returned if the command completes successfully.
-     
-    
-   
-
-   
-    ERROR: index "name" does not exist
-    
-     
-      This message is returned if 
-      class="PARAMETER">name is not an existing
-      index.
-     
-    
-   
-  
-
  
   Examples
 
index 1be0bef48b05b4c82b0b096a4a2d4ef60cf84d8c..4a997ac715d5c79022afa7ce4f84f731f0352d1f 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -69,32 +69,6 @@ DROP [ PROCEDURAL ] LANGUAGE name [
    
   
  
-
-  Diagnostics
-
-  
-   
-    DROP LANGUAGE
-    
-     
-      This message is returned if the language was successfully dropped.
-     
-    
-   
-
-   
-    ERROR: Language "name" doesn't exist
-    
-     
-      This message is returned if a language called 
-      class="parameter">name is not found in the
-      database.
-     
-    
-   
-  
   
  
   Examples
index dcd72a303832cbd635821bc63765935c02f2cc1d..85f02cd473877e2dc9cd8ff9a9444a0dee12969c 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -76,21 +76,6 @@ DROP OPERATOR CLASS name USING 
   
  
 
-  Diagnostics
-
-  
-   
-    DROP OPERATOR CLASS
-    
-     
-      Message returned if the command was successful.
-     
-    
-   
-  
-
  
   Examples
 
index 427e332b75313941b54157a3435129bca562ebe3..2b3267b336769c0653cf78e3c6cff3de81e90a2d 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -88,50 +88,6 @@ DROP OPERATOR name ( 
   
  
 
-  Diagnostics
-
-  
-   
-    DROP OPERATOR
-    
-     
-      Message returned if the command was successful.
-     
-    
-   
-
-   
-    ERROR:  RemoveOperator: binary operator 'name' taking 'lefttype' and 'righttype' does not exist
-    
-     
-      This message is returned if the specified binary operator does not exist.
-     
-    
-   
-
-   
-    ERROR: RemoveOperator: left unary operator 'name' taking 'lefttype' does not exist
-    
-     
-      This message is returned if the specified left unary operator
-      does not exist.
-     
-    
-   
-
-   
-    ERROR: RemoveOperator: right unary operator 'name' taking 'righttype' does not exist
-    
-     
-      This message is returned if the specified right unary operator
-      does not exist.
-     
-    
-   
-  
-
  
   Examples
 
index df34ddd54b6ffcc5f1a96295f1dd05b3daf9b66c..abd0bfc7014355ab8c41f1781e0469090ee4ffe1 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -76,30 +76,6 @@ DROP RULE name ON 
   
  
 
-  Diagnostics
-
-  
-   
-    DROP RULE
-    
-     
-      Message returned if the command was successful.
-     
-    
-   
-
-   
-    ERROR:  Rule "name" not found
-    
-     
-      Message if the specified rule does not exist.
-     
-    
-   
-  
-
  
   Examples
 
index 77ccbbb8f3416446664bea29a1878bb9eae2e685..5a52d3da3c016832650e85f2ac4a1ee2b3a6c4f7 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -73,30 +73,6 @@ DROP SCHEMA name [, ...] [ CASCADE
   
  
 
-  Diagnostics
-
-  
-   
-    DROP SCHEMA
-    
-     
-      Message returned if the schema was successfully dropped.
-     
-    
-   
-
-   
-    ERROR: Schema "name" does not exist
-    
-     
-      This message is returned if the specified schema does not exist.
-     
-    
-   
-  
-
  
   Examples
 
index a23dd4ad16a9c35dfea636ba50d521d8a65ad9ec..cc2e1bed1f1ba1dbf9d609cd6f86fe03871362ab 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -66,30 +66,6 @@ DROP SEQUENCE name [, ...] [ CASCAD
   
  
 
-  Diagnostics
-
-  
-   
-    DROP SEQUENCE
-    
-     
-      Message returned if the sequence was successfully dropped.
-     
-    
-   
-
-   
-    ERROR: sequence "name" does not exist
-    
-     
-      Message returned if the specified sequence does not exist.
-     
-    
-   
-  
-
  
   Examples
 
index 61e253dc50b54daac28d324b8afde9369e492428..b37a428eb625e647c655b5adcc1a2fda00c12432 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -78,30 +78,6 @@ DROP TABLE name [, ...] [ CASCADE |
   
  
 
-  Diagnostics
-
-  
-   
-    DROP TABLE
-    
-     
-      Message returned if the command completes successfully.
-     
-    
-   
-
-   
-    ERROR: table "name" does not exist
-    
-     
-      Message returned if the specified table does not exist.
-     
-    
-   
-  
-
  
   Examples
 
index f4a24e90198742c2d97c7919460ced8a1d2d3424..6505815fbeea6d752d9035f7adae00cbe0eb373f 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -78,30 +78,6 @@ DROP TRIGGER name ON 
   
  
 
-  Diagnostics
-
-  
-   
-    DROP TRIGGER
-    
-     
-      Message returned if the trigger was successfully dropped.
-     
-    
-   
-
-   
-    ERROR: DropTrigger: there is no trigger name on relation "table"
-    
-     
-      Message returned if the specified trigger does not exist.
-     
-    
-   
-  
-
  
   Examples
 
index 18548fff14f201f1bda5d0bb0c984ecd2a520a00..c8aa06c73a13d9db1a2142412abed8657276a960 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -67,30 +67,6 @@ DROP TYPE typename [, ...] [ CASCAD
    
   
  
-
-  Diagnostics
-
-  
-   
-    DROP TYPE
-    
-     
-      Message returned if the command was successful.
-     
-    
-   
-
-   
-    ERROR:  RemoveType: type 'typename' does not exist
-    
-     
-      Message returned if the specified type does not exist.
-     
-    
-   
-  
   
  
   Examples
index b17d2bccd80c1f339601a39bf32284ae9f9db8a4..4e03d10838bfc1f7eaad325ee0d359559b7699db 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -68,30 +68,6 @@ DROP VIEW name [, ...] [ CASCADE |
   
  
 
-  Diagnostics
-
-  
-   
-    DROP VIEW
-    
-     
-      Message returned if the command was successful.
-     
-    
-   
-
-   
-    ERROR: view name does not exist
-    
-     
-      Message returned if the specified view does not exist.
-     
-    
-   
-  
-
  
   Examples
 
index e4d9dd6e4885b9e0a77144747a839076097ac7ad..bb9016d69a674a18d2d94e45b18d2dd81d437cb4 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -119,16 +119,6 @@ ROLLBACK;
   
  
 
-  Diagnostics
-
-  
-   EXPLAIN prints the execution plan of the
-   specified statement from the PostgreSQL
-   planner.
-  
-
  
   Notes
 
index d6622a4ea78732c4ee48d66c1c325f254f436bc9..9c1050b835e3089514198464da8bad1c499771bf 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -280,21 +280,6 @@ where direction can be empty or one
   
  
 
-  Diagnostics
-
-  
-   
-    ERROR:  cursor "cursor" does not exist
-    
-     
-      There is no cursor with the specified name.
-     
-    
-   
-  
-
  
   Notes
 
index 08cb017454d96f66e92afca33f9cfb0f6719893a..8c24cfb6177965e50b7b33a2463f708fbd688a3b 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -132,21 +132,6 @@ where lockmode is one of:
   
  
 
-  Diagnostics
-
-  
-   
-    LOCK TABLE
-    
-     
-      Message returned if the lock was successfully acquired.
-     
-    
-   
-  
-
  
   Notes
 
index 8d6edac63f60538ccc04b071bd56dc2197738faf..dde512d3e3d8adfea31fb0f79afc812a7a6867f3 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -133,21 +133,6 @@ NOTIFY name
   
  
 
-  Diagnostics
-
-  
-   
-    NOTIFY
-    
-     
-      Message returned when the commmand has executed.
-     
-    
-   
-  
-
  
   Examples
 
index b2a0c040f6b134fa4fa6b26f2ea4865d8e560591..7777cdee8a13d7fa06834fb9a231f009ca410202 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -112,21 +112,6 @@ PREPARE plan_name [ (
   
  
 
-  Diagnostics
-
-  
-   
-    PREPARE
-    
-     
-      Message returned if the statement has been prepared successfully.
-     
-    
-   
-  
-
  
   Notes
 
index 8258b460f17ac017ff49a6a9791b7cdeb309127a..b919f2c53cf2eabcb0fd0d84de35cc2812bfe9b2 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -150,21 +150,6 @@ REINDEX { DATABASE | TABLE | INDEX } name
    
   
  
-  
-  Diagnostics
-
-  
-   
-    REINDEX
-    
-     
-      Message returned if the indexes were successfully recreated.
-     
-    
-   
-  
 
  
   Examples
index 48d75ad9afab208d1af84169de4d71dc2197a695..58169d17de00e7e53d6a15f31a13a56576b3e0bf 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -81,14 +81,6 @@ SET parameter TO DEFAULT
   
  
 
-  Diagnostics
-
-  
-   See under the .
-  
-
  
   Examples
 
index 33c6c3f74ad2d023050067689529bed8c5e7417d..cac7a5cc5e841db22e9cf2b053ea695820f496f6 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -49,30 +49,6 @@ ROLLBACK [ WORK | TRANSACTION ]
   
  
 
-  Diagnostics
-   
-  
-   
-    ROLLBACK
-    
-     
-      Message returned if successful.
-     
-    
-   
-     
-   
-    WARNING:  ROLLBACK: no transaction in progress
-    
-     
-      If there is not any transaction currently in progress.
-     
-    
-   
-  
-
  
   Notes
 
@@ -80,6 +56,11 @@ ROLLBACK [ WORK | TRANSACTION ]
    Use  to
    successfully terminate a transaction.
   
+
+  
+   Issuing ROLLBACK when not inside a transaction does
+   no harm, but it will provoke a warning message.
+  
  
 
  
@@ -102,6 +83,15 @@ ROLLBACK;
    WORK. Otherwise, this command is fully conforming.
   
  
+
+  See Also
+
+  
+   
+   
+  
 
 
 
 
@@ -78,18 +78,6 @@ SELECT [ ALL | DISTINCT [ ON ( expression
   
  
 
-  Diagnostics
-
-  
-   Refer to
-   
-   and
-   
-   for a summary of possible output messages.
-  
-
  
   Notes
 
index 9149d557dcfec6d792bf75f4522da4928fc38b2f..12ebb2f61ce3ffce1d19f0ea218e76e9f2e5905e 100644 (file)
@@ -1,4 +1,4 @@
-
+
 
  
   SET TRANSACTION
@@ -120,10 +120,10 @@ SET default_transaction_isolation = 'value'
   Compatibility
 
   
-   Both commands are defined in the SQL standard.
+   Both commands are defined in the SQL standard.
    SERIALIZABLE is the default transaction
-   isolation level in SQL; in PostgreSQL it is
-   READ COMMITED, but you can change it as
+   isolation level in the standard; in PostgreSQL the default is
+   ordinarily READ COMMITTED, but you can change it as
    described above.  PostgreSQL does not
    provide the isolation levels READ UNCOMMITTED
    and REPEATABLE READ. Because of multiversion
index bbdecc76e2d081615f90693d6a1be600900568a8..3acaead1eb846303d0ae3e471000966974987b9e 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -127,22 +127,6 @@ SHOW ALL
   
  
 
-  Diagnostics
-
-  
-   
-    ERROR: Option 'name' is not recognized
-    
-     
-      Message returned if name does not
-      stand for a known parameter.
-     
-    
-   
-  
-
  
   Notes
 
index 26963e804899adff85c4ca573470e01e6b35bc51..60089d71ee98123b07437f4acacc1d324e378370 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -47,31 +47,6 @@ START TRANSACTION [ ISOLATION LEVEL { READ COMMITTED | SERIALIZABLE } ] [ READ W
   
  
 
-  Diagnostics
-
-  
-   
-    START TRANSACTION
-    
-     
-      Message returned if successful.
-     
-    
-   
-
-   
-    WARNING:  BEGIN: already a transaction in progress
-    
-     
-      Message returned if there was already a transaction in progress
-      when the command was issued.
-     
-    
-   
-  
-
  
   Compatibility
 
@@ -81,6 +56,17 @@ START TRANSACTION [ ISOLATION LEVEL { READ COMMITTED | SERIALIZABLE } ] [ READ W
    endterm="sql-set-transaction-title">.
   
  
+
+  See Also
+
+  
+   
+   
+   
+   
+  
 
 
 
 
@@ -49,21 +49,6 @@ TRUNCATE [ TABLE ] name
    
   
  
-  
-  Diagnostics
-
-  
-   
-    TRUNCATE TABLE
-    
-     
-      Message returned if the table was successfully truncated.
-     
-    
-   
-  
 
  
   Examples
index 385f6db2e3a12803bdfc66158d4043ac7ec4d818..175bcf045c1725a4c0e461f9f4c986225da745b7 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -70,30 +70,16 @@ UNLISTEN { name | * }
   
  
 
-  Diagnostics
-
-  
-   
-    UNLISTEN
-    
-     
-      Message returned when the command has executed.
-     
-    
-   
-  
-
  
   Notes
 
   
-   You unlisten something you were not listening for; no warning or error will appear.
+   You may unlisten something you were not listening for; no warning or error
+   will appear.
   
 
   
-   At the end of each session, UNLISTEN * ist
+   At the end of each session, UNLISTEN * is
    automatically executed.