doc: Whitespace and formatting fixes
authorPeter Eisentraut
Fri, 21 Aug 2015 02:34:35 +0000 (22:34 -0400)
committerPeter Eisentraut
Fri, 21 Aug 2015 02:34:35 +0000 (22:34 -0400)
doc/src/sgml/brin.sgml
doc/src/sgml/config.sgml
doc/src/sgml/func.sgml
doc/src/sgml/libpq.sgml
doc/src/sgml/pageinspect.sgml
doc/src/sgml/ref/drop_policy.sgml
doc/src/sgml/ref/insert.sgml
doc/src/sgml/ref/pgupgrade.sgml
doc/src/sgml/syntax.sgml

index c8c3de72e335463aae0993cd7c25e94f7dd30c4e..574803800962be9f442de828b84a0c81e4e8e1d6 100644 (file)
@@ -48,7 +48,7 @@
   geometrical types might store the bounding box for all the objects
   in the block range.
  
-  
+
  
   The size of the block range is determined at index creation time by
   the pages_per_range storage parameter.  The number of index
@@ -65,7 +65,7 @@
 
  
   The core PostgreSQL distribution
-  includes the BRIN operator classes shown in 
+  includes the BRIN operator classes shown in
   .
  
 
index e900dccb11cfab2f656cc266b7b5e8616a36cbc3..e3dc23bf1303ccf6b5499e433b136aca955bb720 100644 (file)
@@ -2518,7 +2518,7 @@ include_dir 'conf.d'
         mode. In always mode, all files restored from the archive
         or streamed with streaming replication will be archived (again). See
          for details.
-         
+       
        
         archive_mode and archive_command are
         separate variables so that archive_command can be
index 1bd72485ac6e940cb6b1840569e467953104b5b9..452ea6d832daf786e371c400efd67b48ff393a37 100644 (file)
@@ -10911,16 +10911,16 @@ table2-mapping
        
        jsonb_pretty('[{"f1":1,"f2":null},2,null,3]')
        
-                    
- [
-     {
-         "f1": 1,
-         "f2": null
-     },
-     2,
-     null,
-     3
- ]
+
+[
+    {
+        "f1": 1,
+        "f2": null
+    },
+    2,
+    null,
+    3
+]
 
         
        
index fe0a7920cce14cbe7cf9651496bd758761350df2..7940ef2713a2b05532132033afcf9541037306df 100644 (file)
@@ -1906,8 +1906,10 @@ const char *PQsslAttribute(const PGconn *conn, const char *attribute_name);
          protocol
           
            
-             SSL/TLS version in use. Common values are "SSLv2", "SSLv3", 
-             "TLSv1", "TLSv1.1" and "TLSv1.2", but an implementation may
+             SSL/TLS version in use. Common values
+             are "SSLv2""SSLv3",
+             "TLSv1""TLSv1.1"
+             and "TLSv1.2", but an implementation may
              return other strings if some other protocol is used.
            
           
@@ -1924,7 +1926,7 @@ const char *PQsslAttribute(const PGconn *conn, const char *attribute_name);
          cipher
           
            
-            A short name of the ciphersuite used, e.g. 
+            A short name of the ciphersuite used, e.g.
             "DHE-RSA-DES-CBC3-SHA". The names are specific
             to each SSL implementation.
            
@@ -5149,7 +5151,7 @@ int PQputCopyEnd(PGconn *conn,
        connections.)
       
 
-       
+      
        The result is 1 if the termination message was sent; or in
        nonblocking mode, this may only indicate that the termination
        message was successfully queued.  (In nonblocking mode, to be
index 313cbaea308c8c6232c3ed6feea92bd987664f74..b95cc81a09ce55736dece428d3c47af2838e3c50 100644 (file)
@@ -382,7 +382,7 @@ test=# SELECT * FROM gin_page_opaque_info(get_raw_page('gin_index', 2));
       gin_leafpage_items returns information about
       the data stored in a GIN leaf page.  For example:
 
- test=# SELECT first_tid, nbytes, tids[0:5] as some_tids
+test=# SELECT first_tid, nbytes, tids[0:5] as some_tids
         FROM gin_leafpage_items(get_raw_page('gin_test_idx', 2));
  first_tid | nbytes |                        some_tids
 -----------+--------+----------------------------------------------------------
index bd4ef5cf7ce03f80d5283b4dcf60fdae4b40d436..c25bc61d9e17642dd0fe9b04775251d1c5b5f0db 100644 (file)
@@ -83,9 +83,9 @@ DROP POLICY [ IF EXISTS ] name ON <
    To drop the policy called p1 on the table named
    my_table:
 
-   
-    DROP POLICY p1 ON my_table;
-   
+
+DROP POLICY p1 ON my_table;
+
   
  
 
index 7cd4577f1eafc819efeb3dbb8e98878282ab6a5a..233a48f4804407b47a97c46b553af33cefbb972a 100644 (file)
@@ -621,9 +621,9 @@ INSERT INTO employees_log SELECT *, current_timestamp FROM upd;
    expression is used to reference values originally proposed for
    insertion:
 
-  INSERT INTO distributors (did, dname)
-  VALUES (5, 'Gizmo transglobal'), (6, 'Associated Computing, inc')
-  ON CONFLICT (did) DO UPDATE SET dname = EXCLUDED.dname;
+INSERT INTO distributors (did, dname)
+    VALUES (5, 'Gizmo transglobal'), (6, 'Associated Computing, inc')
+    ON CONFLICT (did) DO UPDATE SET dname = EXCLUDED.dname;
 
   
   
@@ -633,8 +633,8 @@ INSERT INTO employees_log SELECT *, current_timestamp FROM upd;
    Example assumes a unique index has been defined that constrains
    values appearing in the did column:
 
-  INSERT INTO distributors (did, dname) VALUES (7, 'Redline GmbH')
-  ON CONFLICT (did) DO NOTHING;
+INSERT INTO distributors (did, dname) VALUES (7, 'Redline GmbH')
+    ON CONFLICT (did) DO NOTHING;
 
   
   
@@ -644,16 +644,16 @@ INSERT INTO employees_log SELECT *, current_timestamp FROM upd;
    used to limit the rows actually updated (any existing row not
    updated will still be locked, though):
 
-  -- Don't update existing distributors based in a certain ZIP code
-  INSERT INTO distributors AS d (did, dname) VALUES (8, 'Anvil Distribution')
-  ON CONFLICT (did) DO UPDATE
-  SET dname = EXCLUDED.dname || ' (formerly ' || d.dname || ')'
-  WHERE d.zipcode != '21201';
-
-  -- Name a constraint directly in the statement (uses associated
-  -- index to arbitrate taking the DO NOTHING action)
-  INSERT INTO distributors (did, dname) VALUES (9, 'Antwerp Design')
-  ON CONFLICT ON CONSTRAINT distributors_pkey DO NOTHING;
+-- Don't update existing distributors based in a certain ZIP code
+INSERT INTO distributors AS d (did, dname) VALUES (8, 'Anvil Distribution')
+    ON CONFLICT (did) DO UPDATE
+    SET dname = EXCLUDED.dname || ' (formerly ' || d.dname || ')'
+    WHERE d.zipcode <> '21201';
+
+-- Name a constraint directly in the statement (uses associated
+-- index to arbitrate taking the DO NOTHING action)
+INSERT INTO distributors (did, dname) VALUES (9, 'Antwerp Design')
+    ON CONFLICT ON CONSTRAINT distributors_pkey DO NOTHING;
 
   
   
@@ -664,11 +664,11 @@ INSERT INTO employees_log SELECT *, current_timestamp FROM upd;
    is_active boolean column evaluates to
    true:
 
-  -- This statement could infer a partial unique index on "did"
-  -- with a predicate of "WHERE is_active", but it could also
-  -- just use a regular unique constraint on "did"
-  INSERT INTO distributors (did, dname) VALUES (10, 'Conrad International')
-  ON CONFLICT (did) WHERE is_active DO NOTHING;
+-- This statement could infer a partial unique index on "did"
+-- with a predicate of "WHERE is_active", but it could also
+-- just use a regular unique constraint on "did"
+INSERT INTO distributors (did, dname) VALUES (10, 'Conrad International')
+    ON CONFLICT (did) WHERE is_active DO NOTHING;
 
   
  
index e97fb480f350cd7fdaef78b7c60a6dafece4593c..072d5f46eb22ad7e47c6ced5c3350dabc35b5d25 100644 (file)
@@ -487,7 +487,7 @@ pg_upgrade.exe
        directories, run this for each slave:
 
 
-       rsync --archive --delete --hard-links --size-only old_pgdata new_pgdata remote_dir
+rsync --archive --delete --hard-links --size-only old_pgdata new_pgdata remote_dir
 
 
        where 
index 47512f73dfd39bbaad1c1f732a2859b53b76ffcd..a9267125dbdecee59fcb7008d72c0cc470b4ae59 100644 (file)
@@ -2617,7 +2617,7 @@ SELECT concat_lower_or_upper(a => 'Hello', uppercase => true, b => 'World');
     
       An older syntax based on ":=" is supported for backward compatibility:
 
-    SELECT concat_lower_or_upper(a := 'Hello', uppercase := true, b := 'World');
+SELECT concat_lower_or_upper(a := 'Hello', uppercase := true, b := 'World');
  concat_lower_or_upper 
 -----------------------
  HELLO WORLD