Remove trailing whitespace from *.sgml files.
authorTom Lane
Wed, 20 Apr 2022 15:04:28 +0000 (11:04 -0400)
committerTom Lane
Wed, 20 Apr 2022 15:04:49 +0000 (11:04 -0400)
Historically we've been lax about this, but seeing that we're not
lax in C files, there doesn't seem to be a good reason to be so
in the documentation.  Remove the existing occurrences (mostly
though not entirely in copied-n-pasted psql output), and modify
.gitattributes so that "git diff --check" will warn about future
cases.

While at it, add *.pm to the set of extensions .gitattributes
knows about, and remove some obsolete entries for files that
we don't have in the tree anymore.

Per followup discussion of commit 5a892c9b1.

Discussion: https://postgr.es/m/[email protected]

45 files changed:
.gitattributes
doc/src/sgml/advanced.sgml
doc/src/sgml/backup.sgml
doc/src/sgml/bloom.sgml
doc/src/sgml/charset.sgml
doc/src/sgml/datatype.sgml
doc/src/sgml/dblink.sgml
doc/src/sgml/ddl.sgml
doc/src/sgml/fdwhandler.sgml
doc/src/sgml/func.sgml
doc/src/sgml/high-availability.sgml
doc/src/sgml/hstore.sgml
doc/src/sgml/json.sgml
doc/src/sgml/logical-replication.sgml
doc/src/sgml/logicaldecoding.sgml
doc/src/sgml/monitoring.sgml
doc/src/sgml/pageinspect.sgml
doc/src/sgml/parallel.sgml
doc/src/sgml/perform.sgml
doc/src/sgml/pgfreespacemap.sgml
doc/src/sgml/pgstatstatements.sgml
doc/src/sgml/pgsurgery.sgml
doc/src/sgml/pgwalinspect.sgml
doc/src/sgml/planstats.sgml
doc/src/sgml/plperl.sgml
doc/src/sgml/plpgsql.sgml
doc/src/sgml/postgres-fdw.sgml
doc/src/sgml/ref/create_index.sgml
doc/src/sgml/ref/explain.sgml
doc/src/sgml/ref/pgarchivecleanup.sgml
doc/src/sgml/ref/pgtestfsync.sgml
doc/src/sgml/ref/psql-ref.sgml
doc/src/sgml/ref/reindex.sgml
doc/src/sgml/ref/rollback_to.sgml
doc/src/sgml/ref/select.sgml
doc/src/sgml/ref/set_role.sgml
doc/src/sgml/ref/set_session_auth.sgml
doc/src/sgml/ref/show.sgml
doc/src/sgml/release-15.sgml
doc/src/sgml/rules.sgml
doc/src/sgml/syntax.sgml
doc/src/sgml/test-decoding.sgml
doc/src/sgml/textsearch.sgml
doc/src/sgml/xaggr.sgml
doc/src/sgml/xfunc.sgml

index f9868677fa2e3e8259069d9b0e397c346359351f..4e4e26e34b00d28e4b63036053a47bc0d79f3447 100644 (file)
@@ -1,8 +1,9 @@
 *      whitespace=space-before-tab,trailing-space
 *.[chly]   whitespace=space-before-tab,trailing-space,indent-with-non-tab,tabwidth=4
 *.pl       whitespace=space-before-tab,trailing-space,tabwidth=4
+*.pm       whitespace=space-before-tab,trailing-space,tabwidth=4
 *.po       whitespace=space-before-tab,trailing-space,tab-in-indent,-blank-at-eof
-*.sgml     whitespace=space-before-tab,trailing-space,tab-in-indent,-blank-at-eol
+*.sgml     whitespace=space-before-tab,trailing-space,tab-in-indent
 *.x[ms]l   whitespace=space-before-tab,trailing-space,tab-in-indent
 
 # Avoid confusing ASCII underlines with leftover merge conflict markers
@@ -17,9 +18,6 @@ src/backend/utils/Gen_dummy_probes.pl.prolog  whitespace=-blank-at-eof
 
 # Test output files that contain extra whitespace
 *.out                  -whitespace
-contrib/*/output/*.source      -whitespace
-src/pl/plpgsql/src/output/*.source -whitespace
-src/test/regress/output/*.source   -whitespace
 src/interfaces/ecpg/test/expected/*    -whitespace
 src/interfaces/libpq/test/expected.out whitespace=-blank-at-eof
 
@@ -27,7 +25,6 @@ src/interfaces/libpq/test/expected.out    whitespace=-blank-at-eof
 configure              -whitespace
 ppport.h               -whitespace
 src/backend/regex/COPYRIGHT        -whitespace
-src/backend/regex/re_syntax.n      -whitespace
 src/backend/snowball/libstemmer/*.c    -whitespace
 src/backend/utils/mb/Unicode/*-std.txt -whitespace
 src/include/snowball/libstemmer/*  -whitespace
index 71ae423f631e1c61595710e6093d953badffbcd3..755c9f148508425cc01155b13db33caac05fea03 100644 (file)
@@ -344,7 +344,7 @@ SELECT depname, empno, salary, avg(salary) OVER (PARTITION BY depname) FROM emps
 
 
 
-  depname  | empno | salary |          avg          
+  depname  | empno | salary |          avg
 -----------+-------+--------+-----------------------
  develop   |    11 |   5200 | 5020.0000000000000000
  develop   |     7 |   4200 | 5020.0000000000000000
@@ -394,7 +394,7 @@ FROM empsalary;
 
 
 
-  depname  | empno | salary | rank 
+  depname  | empno | salary | rank
 -----------+-------+--------+------
  develop   |     8 |   6000 |    1
  develop   |    10 |   5200 |    2
@@ -458,7 +458,7 @@ SELECT salary, sum(salary) OVER () FROM empsalary;
 
 
 
- salary |  sum  
+ salary |  sum
 --------+-------
    5200 | 47100
    5000 | 47100
@@ -487,7 +487,7 @@ SELECT salary, sum(salary) OVER (ORDER BY salary) FROM empsalary;
 
 
 
- salary |  sum  
+ salary |  sum
 --------+-------
    3500 |  3500
    3900 |  7400
index 5b147a746dea144ba1fb6d79f30c2f33ebc6febc..73a774d3d7f4fca43eff3a45985b081ab534c70a 100644 (file)
@@ -929,7 +929,7 @@ SELECT * FROM pg_backup_stop(wait_for_archive => true);
      backup_label in the root directory of the backup. The
      third field should be written to a file named
      tablespace_map unless the field is empty. These files are
-     vital to the backup working and must be written byte for byte without 
+     vital to the backup working and must be written byte for byte without
      modification, which may require opening the file in binary mode.
     
    
index d1cf9ac24a75182dca688370dcafc88c96b789a6..a3f51cfdc4ba584c64354df3c54b2f9eab18965c 100644 (file)
@@ -116,7 +116,7 @@ SELECT 10000000
    A sequential scan over this large table takes a long time:
 
 =# EXPLAIN ANALYZE SELECT * FROM tbloom WHERE i2 = 898732 AND i5 = 123451;
-                                              QUERY PLAN                                              
+                                              QUERY PLAN
 -------------------------------------------------------------------&zwsp;-----------------------------------
  Seq Scan on tbloom  (cost=0.00..2137.14 rows=3 width=24) (actual time=16.971..16.971 rows=0 loops=1)
    Filter: ((i2 = 898732) AND (i5 = 123451))
@@ -139,7 +139,7 @@ CREATE INDEX
  3976 kB
 (1 row)
 =# EXPLAIN ANALYZE SELECT * FROM tbloom WHERE i2 = 898732 AND i5 = 123451;
-                                              QUERY PLAN                                              
+                                              QUERY PLAN
 -------------------------------------------------------------------&zwsp;-----------------------------------
  Seq Scan on tbloom  (cost=0.00..2137.00 rows=2 width=24) (actual time=12.805..12.805 rows=0 loops=1)
    Filter: ((i2 = 898732) AND (i5 = 123451))
@@ -162,7 +162,7 @@ CREATE INDEX
  1584 kB
 (1 row)
 =# EXPLAIN ANALYZE SELECT * FROM tbloom WHERE i2 = 898732 AND i5 = 123451;
-                                                     QUERY PLAN                                                      
+                                                     QUERY PLAN
 -------------------------------------------------------------------&zwsp;--------------------------------------------------
  Bitmap Heap Scan on tbloom  (cost=1792.00..1799.69 rows=2 width=24) (actual time=0.388..0.388 rows=0 loops=1)
    Recheck Cond: ((i2 = 898732) AND (i5 = 123451))
@@ -195,7 +195,7 @@ CREATE INDEX
 =# CREATE INDEX btreeidx6 ON tbloom (i6);
 CREATE INDEX
 =# EXPLAIN ANALYZE SELECT * FROM tbloom WHERE i2 = 898732 AND i5 = 123451;
-                                                        QUERY PLAN                                                         
+                                                        QUERY PLAN
 -------------------------------------------------------------------&zwsp;--------------------------------------------------------
  Bitmap Heap Scan on tbloom  (cost=24.34..32.03 rows=2 width=24) (actual time=0.028..0.029 rows=0 loops=1)
    Recheck Cond: ((i5 = 123451) AND (i2 = 898732))
index b95303fb89378810a529a50252a3f434a67aa437..445fd175d8e63b703432138df387421c5761bc32 100644 (file)
@@ -1574,13 +1574,13 @@ CREATE DATABASE korean WITH ENCODING 'EUC_KR' LC_COLLATE='ko_KR.euckr' LC_CTYPE=
 
 $ psql -l
                                          List of databases
-   Name    |  Owner   | Encoding  |  Collation  |    Ctype    |          Access Privileges          
+   Name    |  Owner   | Encoding  |  Collation  |    Ctype    |          Access Privileges
 -----------+----------+-----------+-------------+-------------+-------------------------------------
- clocaledb | hlinnaka | SQL_ASCII | C           | C           | 
- englishdb | hlinnaka | UTF8      | en_GB.UTF8  | en_GB.UTF8  | 
- japanese  | hlinnaka | UTF8      | ja_JP.UTF8  | ja_JP.UTF8  | 
- korean    | hlinnaka | EUC_KR    | ko_KR.euckr | ko_KR.euckr | 
- postgres  | hlinnaka | UTF8      | fi_FI.UTF8  | fi_FI.UTF8  | 
+ clocaledb | hlinnaka | SQL_ASCII | C           | C           |
+ englishdb | hlinnaka | UTF8      | en_GB.UTF8  | en_GB.UTF8  |
+ japanese  | hlinnaka | UTF8      | ja_JP.UTF8  | ja_JP.UTF8  |
+ korean    | hlinnaka | EUC_KR    | ko_KR.euckr | ko_KR.euckr |
+ postgres  | hlinnaka | UTF8      | fi_FI.UTF8  | fi_FI.UTF8  |
  template0 | hlinnaka | UTF8      | fi_FI.UTF8  | fi_FI.UTF8  | {=c/hlinnaka,hlinnaka=CTc/hlinnaka}
  template1 | hlinnaka | UTF8      | fi_FI.UTF8  | fi_FI.UTF8  | {=c/hlinnaka,hlinnaka=CTc/hlinnaka}
 (7 rows)
index 0932c812da5c66bb4c98f405a7c056cb2a3c5181..9b0c6c69266e72b8beaebc3fd3b7de9bbad007bd 100644 (file)
@@ -3177,7 +3177,7 @@ CREATE TABLE person (
 );
 INSERT INTO person VALUES ('Moe', 'happy');
 SELECT * FROM person WHERE current_mood = 'happy';
- name | current_mood 
+ name | current_mood
 ------+--------------
  Moe  | happy
 (1 row)
@@ -3198,14 +3198,14 @@ SELECT * FROM person WHERE current_mood = 'happy';
 INSERT INTO person VALUES ('Larry', 'sad');
 INSERT INTO person VALUES ('Curly', 'ok');
 SELECT * FROM person WHERE current_mood > 'sad';
- name  | current_mood 
+ name  | current_mood
 -------+--------------
  Moe   | happy
  Curly | ok
 (2 rows)
 
 SELECT * FROM person WHERE current_mood > 'sad' ORDER BY current_mood;
- name  | current_mood 
+ name  | current_mood
 -------+--------------
  Curly | ok
  Moe   | happy
@@ -3214,7 +3214,7 @@ SELECT * FROM person WHERE current_mood > 'sad' ORDER BY current_mood;
 SELECT name
 FROM person
 WHERE current_mood = (SELECT MIN(current_mood) FROM person);
- name  
+ name
 -------
  Larry
 (1 row)
@@ -3253,7 +3253,7 @@ ERROR:  operator does not exist: mood = happiness
 
 SELECT person.name, holidays.num_weeks FROM person, holidays
   WHERE person.current_mood::text = holidays.happiness::text;
- name | num_weeks 
+ name | num_weeks
 ------+-----------
  Moe  |         4
 (1 row)
@@ -3982,7 +3982,7 @@ SELECT person.name, holidays.num_weeks FROM person, holidays
 
 SELECT macaddr8_set7bit('08:00:2b:01:02:03');
 
-    macaddr8_set7bit     
+    macaddr8_set7bit
 -------------------------
  0a:00:2b:ff:fe:01:02:03
 (1 row)
@@ -4124,7 +4124,7 @@ SELECT 'a fat cat sat on a mat and ate a fat rat'::tsvector;
 
 
 SELECT $$the lexeme '    ' contains spaces$$::tsvector;
-                 tsvector                  
+                 tsvector
 -------------------------------------------
  '    ' 'contains' 'lexeme' 'spaces' 'the'
 
@@ -4135,7 +4135,7 @@ SELECT $$the lexeme '    ' contains spaces$$::tsvector;
 
 
 SELECT $$the lexeme 'Joe''s' contains a quote$$::tsvector;
-                    tsvector                    
+                    tsvector
 ------------------------------------------------
  'Joe''s' 'a' 'contains' 'lexeme' 'quote' 'the'
 
@@ -4165,7 +4165,7 @@ SELECT 'a:1 fat:2 cat:3 sat:4 on:5 a:6 mat:7 and:8 ate:9 a:10 fat:11 rat:12'::ts
 
 
 SELECT 'a:1A fat:2B,4C cat:5D'::tsvector;
-          tsvector          
+          tsvector
 ----------------------------
  'a':1A 'cat':5 'fat':2B,4C
 
@@ -4184,7 +4184,7 @@ SELECT 'a:1A fat:2B,4C cat:5D'::tsvector;
 
 
 SELECT 'The Fat Rats'::tsvector;
-      tsvector      
+      tsvector
 --------------------
  'Fat' 'Rats' 'The'
 
@@ -4197,7 +4197,7 @@ SELECT 'The Fat Rats'::tsvector;
 
 
 SELECT to_tsvector('english', 'The Fat Rats');
-   to_tsvector   
+   to_tsvector
 -----------------
  'fat':2 'rat':3
 
@@ -4239,17 +4239,17 @@ SELECT to_tsvector('english', 'The Fat Rats');
 
 
 SELECT 'fat & rat'::tsquery;
-    tsquery    
+    tsquery
 ---------------
  'fat' & 'rat'
 
 SELECT 'fat & (rat | cat)'::tsquery;
-          tsquery          
+          tsquery
 ---------------------------
  'fat' & ( 'rat' | 'cat' )
 
 SELECT 'fat & rat & ! cat'::tsquery;
-        tsquery         
+        tsquery
 ------------------------
  'fat' & 'rat' & !'cat'
 
@@ -4273,7 +4273,7 @@ SELECT 'fat:ab & cat'::tsquery;
      to specify prefix matching:
 
 SELECT 'super:*'::tsquery;
-  tsquery  
+  tsquery
 -----------
  'super':*
 
@@ -4290,7 +4290,7 @@ SELECT 'super:*'::tsquery;
 
 
 SELECT to_tsquery('Fat:ab & Cats');
-    to_tsquery    
+    to_tsquery
 ------------------
  'fat':AB & 'cat'
 
index 4ab38bcc999b1f28e6dc9ed15504a314224fe114..50c49f533b350cdd5c884a13d0474145e1329837 100644 (file)
@@ -161,13 +161,13 @@ GRANT SELECT ON TABLE foo TO regress_dblink_user;
 \set ORIGINAL_USER :USER
 \c - regress_dblink_user
 SELECT dblink_connect('myconn', 'fdtest');
- dblink_connect 
+ dblink_connect
 ----------------
  OK
 (1 row)
 
 SELECT * FROM dblink('myconn', 'SELECT * FROM foo') AS t(a int, b text, c text[]);
- a  | b |       c       
+ a  | b |       c
 ----+---+---------------
   0 | a | {a0,b0,c0}
   1 | b | {a1,b1,c1}
@@ -1397,7 +1397,7 @@ dblink_get_notify(text connname) returns setof (notify_name text, be_pid int, ex
 
 
 SELECT dblink_exec('LISTEN virtual');
- dblink_exec 
+ dblink_exec
 -------------
  LISTEN
 (1 row)
index 77ce39766c0533486e6c19a715753c21a36d64be..f2ac1ba00344c9e45faa72691ec36d4a1fedefa4 100644 (file)
@@ -2619,13 +2619,13 @@ CREATE POLICY admin_local_only ON passwd AS RESTRICTIVE TO admin
 
 
 => SELECT current_user;
- current_user 
+ current_user
 --------------
  admin
 (1 row)
 
 => select inet_client_addr();
- inet_client_addr 
+ inet_client_addr
 ------------------
  127.0.0.1
 (1 row)
index dbf5dd3d15a412fb45d65597061927ab09b71fda..d0b5951019b8a3e5d379ac79da6a523d8888d53b 100644 (file)
@@ -1089,7 +1089,7 @@ ExecForeignTruncate(List *rels,
      requested in the original TRUNCATE command,
      respectively.
     
-    
+
     
      If restart_seqs is true,
      the original TRUNCATE command requested the
index 5804069e6a3ce5004ae90094b39a4fcaf8cbdbc6..396359883d29309bb20b52d3682573cbc6c5bf22 100644 (file)
@@ -6011,44 +6011,44 @@ regexp_replace('A PostgreSQL function', 'a|e|i|o|u', 'X', 1, 3, 'i')
     Some examples:
 
 SELECT foo FROM regexp_split_to_table('the quick brown fox jumps over the lazy dog', '\s+') AS foo;
-  foo   
+  foo
 -------
- the    
- quick  
- brown  
- fox    
- jumps 
- over   
- the    
- lazy   
- dog    
+ the
+ quick
+ brown
+ fox
+ jumps
+ over
+ the
+ lazy
+ dog
 (9 rows)
 
 SELECT regexp_split_to_array('the quick brown fox jumps over the lazy dog', '\s+');
-              regexp_split_to_array             
+              regexp_split_to_array
 -----------------------------------------------
  {the,quick,brown,fox,jumps,over,the,lazy,dog}
 (1 row)
 
 SELECT foo FROM regexp_split_to_table('the quick brown fox', '\s*') AS foo;
- foo 
+ foo
 -----
- t         
- h         
- e         
- q         
- u         
- i         
- c         
- k         
- b         
- r         
- o         
- w         
- n         
- f         
- o         
- x         
+ t
+ h
+ e
+ q
+ u
+ i
+ c
+ k
+ b
+ r
+ o
+ w
+ n
+ f
+ o
+ x
 (16 rows)
 
    
@@ -14400,32 +14400,32 @@ SELECT xmlexists('//town[text() = ''Toronto'']' PASSING BY VALUE 'T
 
 SET xmloption TO DOCUMENT;
 SELECT xml_is_well_formed('<>');
- xml_is_well_formed 
+ xml_is_well_formed
 --------------------
  f
 (1 row)
 
 SELECT xml_is_well_formed('');
- xml_is_well_formed 
+ xml_is_well_formed
 --------------------
  t
 (1 row)
 
 SET xmloption TO CONTENT;
 SELECT xml_is_well_formed('abc');
- xml_is_well_formed 
+ xml_is_well_formed
 --------------------
  t
 (1 row)
 
 SELECT xml_is_well_formed_document('bar');
- xml_is_well_formed_document 
+ xml_is_well_formed_document
 -----------------------------
  t
 (1 row)
 
 SELECT xml_is_well_formed_document('bar');
- xml_is_well_formed_document 
+ xml_is_well_formed_document
 -----------------------------
  f
 (1 row)
@@ -14492,7 +14492,7 @@ SELECT xml_is_well_formed_document('
 SELECT xpath('/my:a/text()', 'test',
              ARRAY[ARRAY['my', 'http://example.com']]);
 
- xpath  
+ xpath
 --------
  {test}
 (1 row)
@@ -14540,7 +14540,7 @@ SELECT xpath('//mydefns:b/text()', 'test
 SELECT xpath_exists('/my:a/text()', 'test',
                      ARRAY[ARRAY['my', 'http://example.com']]);
 
- xpath_exists  
+ xpath_exists
 --------------
  t
 (1 row)
@@ -14773,7 +14773,7 @@ SELECT xmltable.*
                              'concat(SIZE[@unit!="sq_km"], " ", SIZE[@unit!="sq_km"]/@unit)',
                         premier_name text PATH 'PREMIER_NAME' DEFAULT 'not specified');
 
- id | ordinality | COUNTRY_NAME | country_id | size_sq_km |  size_other  | premier_name  
+ id | ordinality | COUNTRY_NAME | country_id | size_sq_km |  size_other  | premier_name
 ----+------------+--------------+------------+------------+--------------+---------------
   1 |          1 | Australia    | AU         |            |              | not specified
   5 |          2 | Japan        | JP         |            | 145935 sq_mi | Shinzo Abe
@@ -14794,9 +14794,9 @@ $$ AS data;
 
 SELECT xmltable.*
   FROM xmlelements, XMLTABLE('/root' PASSING data COLUMNS element text);
-         element         
+         element
 -------------------------
-   Hello2a2   bbbxxxCC  
+   Hello2a2   bbbxxxCC
 ]]>
     
 
@@ -17769,14 +17769,14 @@ $.* ? (@ like_regex "^\\d+$")
      
 
 SELECT JSON('{ "a" : 123, "b": [ true, "foo" ], "a" : "bar" }');
-                       json                       
+                       json
 --------------------------------------------------
  { "a" : 123, "b": [ true, "foo" ], "a" : "bar" }
 (1 row)
 
 
 SELECT JSON('{"a": 123, "b": [true, "foo"], "a": "bar"}' RETURNING jsonb);
-               json               
+               json
 ----------------------------------
  {"a": "bar", "b": [true, "foo"]}
 (1 row)
@@ -18097,7 +18097,7 @@ WHERE f.did = 103;
    
    <literal>JSON_OBJECTAGG</literal>
    json_objectagg
-   
+
 
 JSON_OBJECTAGG (
    { key_expression { VALUE | ':' } value_expression } 
@@ -18906,7 +18906,7 @@ SELECT JSON_VALUE('123.45', '$' RETURNING int ERROR ON ERROR);
 (1 row)
 
 SELECT JSON_VALUE('"03:04 2015-02-01"', '$.datetime("HH24:MI YYYY-MM-DD")' RETURNING date);
- json_value 
+ json_value
 ------------
  2015-02-01
 (1 row)
@@ -19222,7 +19222,7 @@ SELECT JSON_QUERY(jsonb '"aaa"', '$' RETURNING text OMIT QUOTES);
     
   
    
-   
+
    
     
      VALUE | SCALAR | ARRAY | OBJECT
@@ -19875,7 +19875,7 @@ JSON_SERIALIZE (
      
 
 SELECT JSON_SERIALIZE(JSON_SCALAR('foo'));
- json_serialize 
+ json_serialize
 ----------------
  "foo"
 (1 row)
@@ -19890,7 +19890,7 @@ SELECT JSON_SERIALIZE('{"foo": "bar", "baz": [1, 2]}' RETURNING bytea);
    
 
   
+
   
    SQL/JSON Common Clauses
 
@@ -28114,7 +28114,7 @@ SELECT collation for ('foo' COLLATE "de_DE");
     to log the memory contexts of a backend process. For example:
 
 postgres=# SELECT pg_log_backend_memory_contexts(pg_backend_pid());
- pg_log_backend_memory_contexts 
+ pg_log_backend_memory_contexts
 --------------------------------
  t
 (1 row)
index db1bde47064ba856d757f2dac5bbd23e0ef07b70..c7e402765fcbb7bce61ca7d1e582c8a95c7dbfc0 100644 (file)
@@ -980,7 +980,7 @@ postgres=# SELECT * FROM pg_create_physical_replication_slot('node_a_slot');
  node_a_slot |
 
 postgres=# SELECT slot_name, slot_type, active FROM pg_replication_slots;
-  slot_name  | slot_type | active 
+  slot_name  | slot_type | active
 -------------+-----------+--------
  node_a_slot | physical  | f
 (1 row)
index 679878b3afc54af6ffbd87a0a8c2211f9f07f316..335d64641ba3c0eb0bfef82e4c5afa8d766ad14a 100644 (file)
@@ -817,7 +817,7 @@ CREATE TABLE test (col1 integer, col2 text, col3 text);
 INSERT INTO test VALUES (123, 'foo', 'bar');
 
 SELECT hstore(t) FROM test AS t;
-                   hstore                    
+                   hstore
 ---------------------------------------------
  "col1"=>"123", "col2"=>"foo", "col3"=>"bar"
 (1 row)
@@ -831,9 +831,9 @@ CREATE TABLE test (col1 integer, col2 text, col3 text);
 
 SELECT * FROM populate_record(null::test,
                               '"col1"=>"456", "col2"=>"zzz"');
- col1 | col2 | col3 
+ col1 | col2 | col3
 ------+------+------
-  456 | zzz  | 
+  456 | zzz  |
 (1 row)
 
   
@@ -845,7 +845,7 @@ CREATE TABLE test (col1 integer, col2 text, col3 text);
 INSERT INTO test VALUES (123, 'foo', 'bar');
 
 SELECT (r).* FROM (SELECT t #= '"col3"=>"baz"' AS r FROM test t) s;
- col1 | col2 | col3 
+ col1 | col2 | col3
 ------+------+------
   123 | foo  | baz
 (1 row)
index c4223fafb6031155238a6df9843d50d3496afd6d..0ffb5a708d937c435e2852c88a05c9db698f2e9e 100644 (file)
@@ -200,13 +200,13 @@ SELECT '{"foo": [true, "bar"], "tags": {"a": 1, "b": null}}'::json;
    details such as whitespace.  For example, note the differences here:
 
 SELECT '{"bar": "baz", "balance": 7.77, "active":false}'::json;
-                      json                       
+                      json
 -------------------------------------------------
  {"bar": "baz", "balance": 7.77, "active":false}
 (1 row)
 
 SELECT '{"bar": "baz", "balance": 7.77, "active":false}'::jsonb;
-                      jsonb                       
+                      jsonb
 --------------------------------------------------
  {"bar": "baz", "active": false, "balance": 7.77}
 (1 row)
@@ -218,7 +218,7 @@ SELECT '{"bar": "baz", "balance": 7.77, "active":false}'::jsonb;
    example:
 
 SELECT '{"reading": 1.230e-5}'::json, '{"reading": 1.230e-5}'::jsonb;
-         json          |          jsonb          
+         json          |          jsonb
 -----------------------+-------------------------
  {"reading": 1.230e-5} | {"reading": 0.00001230}
 (1 row)
index bc4d700456178fb919204c6841723a795d0a67ae..a0f9cecd01bd4811da66058e2aca8b5ac9a4049c 100644 (file)
    any combination of INSERTUPDATE,
    DELETE, and TRUNCATE, similar to how triggers are fired by
    particular event types.  By default, all operation types are replicated.
-   (Row filters have no effect for TRUNCATE. See 
+   (Row filters have no effect for TRUNCATE. See
    ).
   
 
 
   
    By default, all data from all published tables will be replicated to the
-   appropriate subscribers. The replicated data can be reduced by using a 
+   appropriate subscribers. The replicated data can be reduced by using a
    row filter. A user might choose to use row filters
    for behavioral, security or performance reasons. If a published table sets a
    row filter, a row is replicated only if its data satisfies the row filter
@@ -533,14 +533,14 @@ CREATE PUBLICATION
 
 test_pub=# \dRp+
                                Publication p1
-  Owner   | All tables | Inserts | Updates | Deletes | Truncates | Via root 
+  Owner   | All tables | Inserts | Updates | Deletes | Truncates | Via root
 ----------+------------+---------+---------+---------+-----------+----------
  postgres | f          | t       | t       | t       | t         | f
 Tables:
     "public.t1" WHERE ((a > 5) AND (c = 'NSW'::text))
 
                                Publication p2
-  Owner   | All tables | Inserts | Updates | Deletes | Truncates | Via root 
+  Owner   | All tables | Inserts | Updates | Deletes | Truncates | Via root
 ----------+------------+---------+---------+---------+-----------+----------
  postgres | f          | t       | t       | t       | t         | f
 Tables:
@@ -548,7 +548,7 @@ Tables:
     "public.t2" WHERE (e = 99)
 
                                Publication p3
-  Owner   | All tables | Inserts | Updates | Deletes | Truncates | Via root 
+  Owner   | All tables | Inserts | Updates | Deletes | Truncates | Via root
 ----------+------------+---------+---------+---------+-----------+----------
  postgres | f          | t       | t       | t       | t         | f
 Tables:
@@ -565,11 +565,11 @@ Tables:
 
 test_pub=# \d t1
                  Table "public.t1"
- Column |  Type   | Collation | Nullable | Default 
+ Column |  Type   | Collation | Nullable | Default
 --------+---------+-----------+----------+---------
- a      | integer |           | not null | 
- b      | integer |           |          | 
- c      | text    |           | not null | 
+ a      | integer |           | not null |
+ b      | integer |           |          |
+ c      | text    |           | not null |
 Indexes:
     "t1_pkey" PRIMARY KEY, btree (a, c)
 Publications:
@@ -578,11 +578,11 @@ Publications:
 
 test_pub=# \d t2
                  Table "public.t2"
- Column |  Type   | Collation | Nullable | Default 
+ Column |  Type   | Collation | Nullable | Default
 --------+---------+-----------+----------+---------
- d      | integer |           | not null | 
- e      | integer |           |          | 
- f      | integer |           |          | 
+ d      | integer |           | not null |
+ e      | integer |           |          |
+ f      | integer |           |          |
 Indexes:
     "t2_pkey" PRIMARY KEY, btree (d)
 Publications:
@@ -591,11 +591,11 @@ Publications:
 
 test_pub=# \d t3
                  Table "public.t3"
- Column |  Type   | Collation | Nullable | Default 
+ Column |  Type   | Collation | Nullable | Default
 --------+---------+-----------+----------+---------
- g      | integer |           | not null | 
- h      | integer |           |          | 
- i      | integer |           |          | 
+ g      | integer |           | not null |
+ h      | integer |           |          |
+ i      | integer |           |          |
 Indexes:
     "t3_pkey" PRIMARY KEY, btree (g)
 Publications:
@@ -636,7 +636,7 @@ INSERT 0 1
 test_pub=# INSERT INTO t1 VALUES (9, 109, 'NSW');
 INSERT 0 1
 
-test_pub=# SELECT * FROM t1; 
+test_pub=# SELECT * FROM t1;
  a |  b  |  c
 ---+-----+-----
  2 | 102 | NSW
@@ -651,7 +651,7 @@ test_pub=# SELECT * FROM t1;
 
 
 test_sub=# SELECT * FROM t1;
- a |  b  |  c  
+ a |  b  |  c
 ---+-----+-----
  6 | 106 | NSW
  9 | 109 | NSW
@@ -668,7 +668,7 @@ test_pub=# UPDATE t1 SET b = 999 WHERE a = 6;
 UPDATE 1
 
 test_pub=# SELECT * FROM t1;
- a |  b  |  c  
+ a |  b  |  c
 ---+-----+-----
  2 | 102 | NSW
  3 | 103 | QLD
@@ -682,7 +682,7 @@ test_pub=# SELECT * FROM t1;
 
 
 test_sub=# SELECT * FROM t1;
- a |  b  |  c  
+ a |  b  |  c
 ---+-----+-----
  9 | 109 | NSW
  6 | 999 | NSW
@@ -700,7 +700,7 @@ test_pub=# UPDATE t1 SET a = 555 WHERE a = 2;
 UPDATE 1
 
 test_pub=# SELECT * FROM t1;
-  a  |  b  |  c  
+  a  |  b  |  c
 -----+-----+-----
    3 | 103 | QLD
    4 | 104 | VIC
@@ -714,7 +714,7 @@ test_pub=# SELECT * FROM t1;
 
 
 test_sub=# SELECT * FROM t1;
-  a  |  b  |  c  
+  a  |  b  |  c
 -----+-----+-----
    9 | 109 | NSW
    6 | 999 | NSW
@@ -733,7 +733,7 @@ test_pub=# UPDATE t1 SET c = 'VIC' WHERE a = 9;
 UPDATE 1
 
 test_pub=# SELECT * FROM t1;
-  a  |  b  |  c  
+  a  |  b  |  c
 -----+-----+-----
    3 | 103 | QLD
    4 | 104 | VIC
@@ -747,7 +747,7 @@ test_pub=# SELECT * FROM t1;
 
 
 test_sub=# SELECT * FROM t1;
-  a  |  b  |  c  
+  a  |  b  |  c
 -----+-----+-----
    6 | 999 | NSW
  555 | 102 | NSW
@@ -806,7 +806,7 @@ test_pub=# INSERT INTO child VALUES (3), (5), (7);
 INSERT 0 3
 
 test_pub=# SELECT * FROM parent ORDER BY a;
- a 
+ a
 ---
  2
  3
@@ -818,7 +818,7 @@ test_pub=# SELECT * FROM parent ORDER BY a;
 
 
 test_sub=# SELECT * FROM parent ORDER BY a;
- a 
+ a
 ---
  2
  3
@@ -855,7 +855,7 @@ test_pub=# INSERT INTO child VALUES (3), (5), (7);
 INSERT 0 3
 
 test_pub=# SELECT * FROM parent ORDER BY a;
- a 
+ a
 ---
  2
  3
@@ -867,7 +867,7 @@ test_pub=# SELECT * FROM parent ORDER BY a;
 
 
 test_sub=# SELECT * FROM child ORDER BY a;
- a 
+ a
 ---
  5
  6
index 8b2c31a87faf7e6f656022286becb144fd3ca485..38ee69dcccc7b2bcf1bcb95b47cc91f9c1886d31 100644 (file)
@@ -69,7 +69,7 @@ postgres=# SELECT slot_name, plugin, slot_type, database, active, restart_lsn, c
 
 postgres=# -- There are no changes to see yet
 postgres=# SELECT * FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL);
- lsn | xid | data 
+ lsn | xid | data
 -----+-----+------
 (0 rows)
 
@@ -78,7 +78,7 @@ CREATE TABLE
 
 postgres=# -- DDL isn't replicated, so all you'll see is the transaction
 postgres=# SELECT * FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL);
-    lsn    |  xid  |     data     
+    lsn    |  xid  |     data
 -----------+-------+--------------
  0/BA2DA58 | 10297 | BEGIN 10297
  0/BA5A5A0 | 10297 | COMMIT 10297
@@ -87,7 +87,7 @@ postgres=# SELECT * FROM pg_logical_slot_get_changes('regression_slot', NULL, NU
 postgres=# -- Once changes are read, they're consumed and not emitted
 postgres=# -- in a subsequent call:
 postgres=# SELECT * FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL);
- lsn | xid | data 
+ lsn | xid | data
 -----+-----+------
 (0 rows)
 
@@ -97,7 +97,7 @@ postgres=*# INSERT INTO data(data) VALUES('2');
 postgres=*# COMMIT;
 
 postgres=# SELECT * FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL);
-    lsn    |  xid  |                          data                           
+    lsn    |  xid  |                          data
 -----------+-------+---------------------------------------------------------
  0/BA5A688 | 10298 | BEGIN 10298
  0/BA5A6F0 | 10298 | table public.data: INSERT: id[integer]:1 data[text]:'1'
@@ -109,7 +109,7 @@ postgres=# INSERT INTO data(data) VALUES('3');
 
 postgres=# -- You can also peek ahead in the change stream without consuming changes
 postgres=# SELECT * FROM pg_logical_slot_peek_changes('regression_slot', NULL, NULL);
-    lsn    |  xid  |                          data                           
+    lsn    |  xid  |                          data
 -----------+-------+---------------------------------------------------------
  0/BA5A8E0 | 10299 | BEGIN 10299
  0/BA5A8E0 | 10299 | table public.data: INSERT: id[integer]:3 data[text]:'3'
@@ -118,7 +118,7 @@ postgres=# SELECT * FROM pg_logical_slot_peek_changes('regression_slot', NULL, N
 
 postgres=# -- The next call to pg_logical_slot_peek_changes() returns the same changes again
 postgres=# SELECT * FROM pg_logical_slot_peek_changes('regression_slot', NULL, NULL);
-    lsn    |  xid  |                          data                           
+    lsn    |  xid  |                          data
 -----------+-------+---------------------------------------------------------
  0/BA5A8E0 | 10299 | BEGIN 10299
  0/BA5A8E0 | 10299 | table public.data: INSERT: id[integer]:3 data[text]:'3'
@@ -127,7 +127,7 @@ postgres=# SELECT * FROM pg_logical_slot_peek_changes('regression_slot', NULL, N
 
 postgres=# -- options can be passed to output plugin, to influence the formatting
 postgres=# SELECT * FROM pg_logical_slot_peek_changes('regression_slot', NULL, NULL, 'include-timestamp', 'on');
-    lsn    |  xid  |                          data                           
+    lsn    |  xid  |                          data
 -----------+-------+---------------------------------------------------------
  0/BA5A8E0 | 10299 | BEGIN 10299
  0/BA5A8E0 | 10299 | table public.data: INSERT: id[integer]:3 data[text]:'3'
@@ -200,7 +200,7 @@ postgres=*# INSERT INTO data(data) VALUES('5');
 postgres=*# PREPARE TRANSACTION 'test_prepared1';
 
 postgres=# SELECT * FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL);
-    lsn    | xid |                          data                           
+    lsn    | xid |                          data
 -----------+-----+---------------------------------------------------------
  0/1689DC0 | 529 | BEGIN 529
  0/1689DC0 | 529 | table public.data: INSERT: id[integer]:3 data[text]:'5'
@@ -209,7 +209,7 @@ postgres=# SELECT * FROM pg_logical_slot_get_changes('regression_slot', NULL, NU
 
 postgres=# COMMIT PREPARED 'test_prepared1';
 postgres=# select * from pg_logical_slot_get_changes('regression_slot', NULL, NULL);
-    lsn    | xid |                    data                    
+    lsn    | xid |                    data
 -----------+-----+--------------------------------------------
  0/168A060 | 529 | COMMIT PREPARED 'test_prepared1', txid 529
 (4 row)
@@ -219,7 +219,7 @@ postgres=# BEGIN;
 postgres=*# INSERT INTO data(data) VALUES('6');
 postgres=*# PREPARE TRANSACTION 'test_prepared2';
 postgres=# select * from pg_logical_slot_get_changes('regression_slot', NULL, NULL);
-    lsn    | xid |                          data                           
+    lsn    | xid |                          data
 -----------+-----+---------------------------------------------------------
  0/168A180 | 530 | BEGIN 530
  0/168A1E8 | 530 | table public.data: INSERT: id[integer]:4 data[text]:'6'
@@ -228,7 +228,7 @@ postgres=# select * from pg_logical_slot_get_changes('regression_slot', NULL, NU
 
 postgres=# ROLLBACK PREPARED 'test_prepared2';
 postgres=# select * from pg_logical_slot_get_changes('regression_slot', NULL, NULL);
-    lsn    | xid |                     data                     
+    lsn    | xid |                     data
 -----------+-----+----------------------------------------------
  0/168A4B8 | 530 | ROLLBACK PREPARED 'test_prepared2', txid 530
 (1 row)
@@ -850,7 +850,7 @@ typedef bool (*LogicalDecodeFilterPrepareCB) (struct LogicalDecodingContext *ctx
       gid field, which is part of the
       txn parameter, can be used in this callback to
       check if the plugin has already received this PREPARE
-      in which case it can either error out or skip the remaining changes of 
+      in which case it can either error out or skip the remaining changes of
       the transaction.
 
 typedef void (*LogicalDecodeBeginPrepareCB) (struct LogicalDecodingContext *ctx,
@@ -978,7 +978,7 @@ typedef void (*LogicalDecodeStreamCommitCB) (struct LogicalDecodingContext *ctx,
 
      
     
-    
+
     
      Stream Change Callback
      
index 180798a6b95bc40bd70b6fe556e8c39864902f0e..56d9b375ec68904a955bf7489cdb6a082dbcf8b6 100644 (file)
@@ -2302,7 +2302,7 @@ postgres   27093  0.0  0.0  30096  2752 ?        Ss   11:34   0:00 postgres: ser
 
 
 SELECT pid, wait_event_type, wait_event FROM pg_stat_activity WHERE wait_event is NOT NULL;
- pid  | wait_event_type | wait_event 
+ pid  | wait_event_type | wait_event
 ------+-----------------+------------
  2540 | Lock            | relation
  6644 | LWLock          | ProcArray
index 55513cf522a7cf97ae0a85e55f8bf6e0c14e5f90..d4ee34ee0fd949e998e0e06691d62ac4bdbf2e42 100644 (file)
@@ -492,7 +492,7 @@ test=# SELECT itemoffset, ctid, itemlen, nulls, vars, data, dead, htid, tids[0:2
       not a valid BRIN page.  For example:
 
 test=# SELECT brin_page_type(get_raw_page('brinidx', 0));
- brin_page_type 
+ brin_page_type
 ----------------
  meta
 
@@ -514,7 +514,7 @@ test=# SELECT brin_page_type(get_raw_page('brinidx', 0));
       about a BRIN index metapage.  For example:
 
 test=# SELECT * FROM brin_metapage_info(get_raw_page('brinidx', 0));
-   magic    | version | pagesperrange | lastrevmappage 
+   magic    | version | pagesperrange | lastrevmappage
 ------------+---------+---------------+----------------
  0xA8109CFA |       1 |             4 |              2
 
@@ -537,7 +537,7 @@ test=# SELECT * FROM brin_metapage_info(get_raw_page('brinidx', 0));
       For example:
 
 test=# SELECT * FROM brin_revmap_data(get_raw_page('brinidx', 2)) LIMIT 5;
-  pages  
+  pages
 ---------
  (6,137)
  (6,138)
@@ -565,13 +565,13 @@ test=# SELECT * FROM brin_revmap_data(get_raw_page('brinidx', 2)) LIMIT 5;
 test=# SELECT * FROM brin_page_items(get_raw_page('brinidx', 5),
                                      'brinidx')
        ORDER BY blknum, attnum LIMIT 6;
- itemoffset | blknum | attnum | allnulls | hasnulls | placeholder |    value     
+ itemoffset | blknum | attnum | allnulls | hasnulls | placeholder |    value
 ------------+--------+--------+----------+----------+-------------+--------------
-        137 |      0 |      1 | t        | f        | f           | 
+        137 |      0 |      1 | t        | f        | f           |
         137 |      0 |      2 | f        | f        | f           | {1 .. 88}
-        138 |      4 |      1 | t        | f        | f           | 
+        138 |      4 |      1 | t        | f        | f           |
         138 |      4 |      2 | f        | f        | f           | {89 .. 176}
-        139 |      8 |      1 | t        | f        | f           | 
+        139 |      8 |      1 | t        | f        | f           |
         139 |      8 |      2 | f        | f        | f           | {177 .. 264}
 
       The returned columns correspond to the fields in the
@@ -693,7 +693,7 @@ test=# SELECT first_tid, nbytes, tids[0:5] AS some_tids
       For example:
 
 test=# SELECT * FROM gist_page_opaque_info(get_raw_page('test_gist_idx', 2));
- lsn | nsn | rightlink | flags  
+ lsn | nsn | rightlink | flags
 -----+-----+-----------+--------
  0/1 | 0/0 |         1 | {leaf}
 (1 row)
@@ -716,7 +716,7 @@ test=# SELECT * FROM gist_page_opaque_info(get_raw_page('test_gist_idx', 2));
       the data stored in a page of a GiST index.  For example:
 
 test=# SELECT * FROM gist_page_items(get_raw_page('test_gist_idx', 0), 'test_gist_idx');
- itemoffset |   ctid    | itemlen | dead |       keys        
+ itemoffset |   ctid    | itemlen | dead |       keys
 ------------+-----------+---------+------+-------------------
           1 | (1,65535) |      40 | f    | (p)=((166,166))
           2 | (2,65535) |      40 | f    | (p)=((332,332))
@@ -747,7 +747,7 @@ test=# SELECT * FROM gist_page_items(get_raw_page('test_gist_idx', 0), 'test_gis
       example:
 
 test=# SELECT * FROM gist_page_items_bytea(get_raw_page('test_gist_idx', 0));
- itemoffset |   ctid    | itemlen | dead |                                      key_data                                      
+ itemoffset |   ctid    | itemlen | dead |                                      key_data
 ------------+-----------+---------+------+-----------------------------------------&zwsp;-------------------------------------------
           1 | (1,65535) |      40 | f    | \x00000100ffff28000000000000c0644000000000&zwsp;00c06440000000000000f03f000000000000f03f
           2 | (2,65535) |      40 | f    | \x00000200ffff28000000000000c0744000000000&zwsp;00c074400000000000e064400000000000e06440
@@ -782,7 +782,7 @@ test=# SELECT * FROM gist_page_items_bytea(get_raw_page('test_gist_idx', 0));
       the given HASH index page.  For example:
 
 test=# SELECT hash_page_type(get_raw_page('con_hash_index', 0));
- hash_page_type 
+ hash_page_type
 ----------------
  metapage
 
@@ -835,7 +835,7 @@ hasho_page_id   | 65408
       index page.  For example:
 
 test=# SELECT * FROM hash_page_items(get_raw_page('con_hash_index', 1)) LIMIT 5;
- itemoffset |   ctid    |    data    
+ itemoffset |   ctid    |    data
 ------------+-----------+------------
           1 | (899,77)  | 1053474816
           2 | (897,29)  | 1053474816
@@ -862,7 +862,7 @@ test=# SELECT * FROM hash_page_items(get_raw_page('con_hash_index', 1)) LIMIT 5;
       index. For example:
 
 test=# SELECT * FROM hash_bitmap_info('con_hash_index', 2052);
- bitmapblkno | bitmapbit | bitstatus 
+ bitmapblkno | bitmapbit | bitstatus
 -------------+-----------+-----------
           65 |         3 | t
 
index 13479d7e5e354e174413e370d1774a95b32efa58..c37fb67065cd048fbe066d127e8e52708d8e8b21 100644 (file)
@@ -33,7 +33,7 @@
 
 
 EXPLAIN SELECT * FROM pgbench_accounts WHERE filler LIKE '%x%';
-                                     QUERY PLAN                                      
+                                     QUERY PLAN
 -------------------------------------------------------------------&zwsp;------------------
  Gather  (cost=1000.00..217018.43 rows=1 width=97)
    Workers Planned: 2
index 9cf8ebea8088ce1347591dd4d2fa71d42947b654..8fd8e25c51594a12c71ddee1b9e591f2647c0679 100644 (file)
@@ -1221,7 +1221,7 @@ ANALYZE zipcodes;
 SELECT stxname, stxkeys, stxddependencies
   FROM pg_statistic_ext join pg_statistic_ext_data on (oid = stxoid)
   WHERE stxname = 'stts';
- stxname | stxkeys |             stxddependencies             
+ stxname | stxkeys |             stxddependencies
 ---------+---------+------------------------------------------
  stts    | 1 5     | {"1 => 5": 1.000000, "5 => 1": 0.423130}
 (1 row)
@@ -1367,7 +1367,7 @@ ANALYZE zipcodes;
 SELECT m.* FROM pg_statistic_ext join pg_statistic_ext_data on (oid = stxoid),
                 pg_mcv_list_items(stxdmcv) m WHERE stxname = 'stts3';
 
- index |         values         | nulls | frequency | base_frequency 
+ index |         values         | nulls | frequency | base_frequency
 -------+------------------------+-------+-----------+----------------
      0 | {Washington, DC}       | {f,f} |  0.003467 |        2.7e-05
      1 | {Apo, AE}              | {f,f} |  0.003067 |        1.9e-05
index 3063885c2cbacca39cbeb7a5f7ccd19421e9ea01..4dd7a084b9ce59bdd69555d8e97a9aa9510fe848 100644 (file)
@@ -76,7 +76,7 @@
 
 
 postgres=# SELECT * FROM pg_freespace('foo');
- blkno | avail 
+ blkno | avail
 -------+-------
      0 |     0
      1 |     0
@@ -101,7 +101,7 @@ postgres=# SELECT * FROM pg_freespace('foo');
 (20 rows)
 
 postgres=# SELECT * FROM pg_freespace('foo', 7);
- pg_freespace 
+ pg_freespace
 --------------
          1216
 (1 row)
index 45e720e995deaf387cab569df921bf3f2a63201b..215419f23c7d4e9d06270fd5f16b3b9475c3d126 100644 (file)
@@ -948,7 +948,7 @@ query           | SELECT pg_stat_statements_reset(0,0,0)
 calls           | 1
 total_exec_time | 0.189497
 rows            | 1
-hit_percent     | 
+hit_percent     |
 -[ RECORD 2 ]---+--------------------------------------------------&zwsp;---------------------------
 query           | SELECT query, calls, total_exec_time, rows, $1 * shared_blks_hit /          +
                 |                nullif(shared_blks_hit + shared_blks_read, $2) AS hit_percent+
@@ -956,7 +956,7 @@ query           | SELECT query, calls, total_exec_time, rows, $1 * shared_blks_h
 calls           | 0
 total_exec_time | 0
 rows            | 0
-hit_percent     | 
+hit_percent     |
 
 
  
index 134be9bebde08dd5649ae7c6c3018be2fed562cd..4bba14f217bd703dba935f44e52fb4731d5ef564 100644 (file)
@@ -39,9 +39,9 @@ ERROR:  could not access status of transaction 4007513275
 DETAIL:  Could not open file "pg_xact/0EED": No such file or directory.
 
 test=# select heap_force_kill('t1'::regclass, ARRAY['(0, 1)']::tid[]);
- heap_force_kill 
+ heap_force_kill
 -----------------
+
 (1 row)
 
 test=# select * from t1 where ctid = '(0, 1)';
@@ -71,15 +71,15 @@ ERROR:  found xmin 507 from before relfrozenxid 515
 CONTEXT:  while scanning block 0 of relation "public.t1"
 
 test=# select ctid from t1 where xmin = 507;
- ctid  
+ ctid
 -------
  (0,3)
 (1 row)
 
 test=# select heap_force_freeze('t1'::regclass, ARRAY['(0, 3)']::tid[]);
- heap_force_freeze 
+ heap_force_freeze
 -------------------
+
 (1 row)
 
 test=# select ctid from t1 where xmin = 2;
index c1d4fbc66cd38a8a9c2aee21d61a81ce742dbf37..de63a709654227d7e353612098e8acbbe84c099a 100644 (file)
       follows:
 
 postgres=# select start_lsn, end_lsn, prev_lsn, xid, resource_manager, record_type, record_length, main_data_length, fpi_length, description from pg_get_wal_records_info('0/14F9A30', '0/15011D7');
- start_lsn |  end_lsn  | prev_lsn  | xid | resource_manager | record_type  | record_length | main_data_length | fpi_length |     description     
+ start_lsn |  end_lsn  | prev_lsn  | xid | resource_manager | record_type  | record_length | main_data_length | fpi_length |     description
 -----------+-----------+-----------+-----+------------------+--------------+---------------+------------------+------------+---------------------
  0/14FA118 | 0/14FB4B0 | 0/14F9958 | 725 | Btree            | INSERT_LEAF  |          5013 |                2 |       4960 | off 246
  0/14FB4B0 | 0/14FD050 | 0/14FA118 | 725 | Btree            | INSERT_LEAF  |          7045 |                2 |       6992 | off 130
@@ -189,7 +189,7 @@ postgres=# select start_lsn, end_lsn, prev_lsn, xid, resource_manager, record_ty
       follows:
 
 postgres=# select * from pg_get_wal_stats('0/12FBA30', '0/15011D7') where count > 0;
- resource_manager/record_type | count | count_percentage | record_size | record_size_percentage | fpi_size | fpi_size_percentage | combined_size | combined_size_percentage 
+ resource_manager/record_type | count | count_percentage | record_size | record_size_percentage | fpi_size | fpi_size_percentage | combined_size | combined_size_percentage
 ------------------------------+-------+------------------+-------------+------------------------+----------+---------------------+---------------+--------------------------
  XLOG                         |    10 |       0.10871929 |         796 |            0.052369177 |      352 |         0.061031006 |          1148 |              0.054751817
  Transaction                  |   187 |        2.0330508 |       62773 |              4.1298623 |        0 |                   0 |         62773 |                2.9938467
@@ -206,7 +206,7 @@ With per_record passed as true:
 
 
 postgres=# select * from pg_get_wal_stats('0/14AFC30', '0/15011D7', true) where count > 0;
- resource_manager/record_type | count | count_percentage | record_size | record_size_percentage | fpi_size | fpi_size_percentage | combined_size | combined_size_percentage 
+ resource_manager/record_type | count | count_percentage | record_size | record_size_percentage | fpi_size | fpi_size_percentage | combined_size | combined_size_percentage
 ------------------------------+-------+------------------+-------------+------------------------+----------+---------------------+---------------+--------------------------
  XLOG/CHECKPOINT_SHUTDOWN     |     1 |       0.32894737 |         114 |             0.22891566 |        0 |                   0 |           114 |               0.03534489
  XLOG/CHECKPOINT_ONLINE       |     4 |        1.3157895 |         456 |             0.91566265 |        0 |                   0 |           456 |               0.14137957
index 78053d7c49fd0dfd5287840d593e6a74e1054c29..df85ea5eea48c07be23c6bbf33916cac2ebf8db0 100644 (file)
@@ -490,7 +490,7 @@ SELECT relpages, reltuples FROM pg_class WHERE relname = 't';
 
 
 EXPLAIN (ANALYZE, TIMING OFF) SELECT * FROM t WHERE a = 1;
-                                 QUERY PLAN                                  
+                                 QUERY PLAN
 -------------------------------------------------------------------&zwsp;------------
  Seq Scan on t  (cost=0.00..170.00 rows=100 width=8) (actual rows=100 loops=1)
    Filter: (a = 1)
@@ -507,7 +507,7 @@ EXPLAIN (ANALYZE, TIMING OFF) SELECT * FROM t WHERE a = 1;
 
 
 EXPLAIN (ANALYZE, TIMING OFF) SELECT * FROM t WHERE a = 1 AND b = 1;
-                                 QUERY PLAN                                  
+                                 QUERY PLAN
 -------------------------------------------------------------------&zwsp;----------
  Seq Scan on t  (cost=0.00..195.00 rows=1 width=8) (actual rows=100 loops=1)
    Filter: ((a = 1) AND (b = 1))
@@ -531,7 +531,7 @@ EXPLAIN (ANALYZE, TIMING OFF) SELECT * FROM t WHERE a = 1 AND b = 1;
 CREATE STATISTICS stts (dependencies) ON a, b FROM t;
 ANALYZE t;
 EXPLAIN (ANALYZE, TIMING OFF) SELECT * FROM t WHERE a = 1 AND b = 1;
-                                  QUERY PLAN                                   
+                                  QUERY PLAN
 -------------------------------------------------------------------&zwsp;------------
  Seq Scan on t  (cost=0.00..195.00 rows=100 width=8) (actual rows=100 loops=1)
    Filter: ((a = 1) AND (b = 1))
@@ -552,7 +552,7 @@ EXPLAIN (ANALYZE, TIMING OFF) SELECT * FROM t WHERE a = 1 AND b = 1;
     accurate:
 
 EXPLAIN (ANALYZE, TIMING OFF) SELECT COUNT(*) FROM t GROUP BY a;
-                                       QUERY PLAN                                        
+                                       QUERY PLAN
 -------------------------------------------------------------------&zwsp;----------------------
  HashAggregate  (cost=195.00..196.00 rows=100 width=12) (actual rows=100 loops=1)
    Group Key: a
@@ -563,7 +563,7 @@ EXPLAIN (ANALYZE, TIMING OFF) SELECT COUNT(*) FROM t GROUP BY a;
     in the following example, is off by an order of magnitude:
 
 EXPLAIN (ANALYZE, TIMING OFF) SELECT COUNT(*) FROM t GROUP BY a, b;
-                                       QUERY PLAN                                        
+                                       QUERY PLAN
 -------------------------------------------------------------------&zwsp;-------------------------
  HashAggregate  (cost=220.00..230.00 rows=1000 width=16) (actual rows=100 loops=1)
    Group Key: a, b
@@ -576,7 +576,7 @@ DROP STATISTICS stts;
 CREATE STATISTICS stts (dependencies, ndistinct) ON a, b FROM t;
 ANALYZE t;
 EXPLAIN (ANALYZE, TIMING OFF) SELECT COUNT(*) FROM t GROUP BY a, b;
-                                       QUERY PLAN                                        
+                                       QUERY PLAN
 -------------------------------------------------------------------&zwsp;-------------------------
  HashAggregate  (cost=220.00..221.00 rows=100 width=16) (actual rows=100 loops=1)
    Group Key: a, b
@@ -637,7 +637,7 @@ EXPLAIN (ANALYZE, TIMING OFF) SELECT * FROM t WHERE a = 1 AND b = 1;
 
 SELECT m.* FROM pg_statistic_ext join pg_statistic_ext_data on (oid = stxoid),
                 pg_mcv_list_items(stxdmcv) m WHERE stxname = 'stts2';
- index |  values  | nulls | frequency | base_frequency 
+ index |  values  | nulls | frequency | base_frequency
 -------+----------+-------+-----------+----------------
      0 | {0, 0}   | {f,f} |      0.01 |         0.0001
      1 | {1, 1}   | {f,f} |      0.01 |         0.0001
index 01f9870773da32fc1f7b0af6f38ab6a8557eb384..627c7936fc92eabbe012b0b3fa734a470464b9fb 100644 (file)
@@ -709,7 +709,7 @@ SELECT init_hosts_query();
 SELECT query_hosts('192.168.1.0/30');
 SELECT release_hosts_query();
 
-    query_hosts    
+    query_hosts
 -----------------
  (1,192.168.1.1)
  (2,192.168.1.2)
index 7ebc6593f10ec11fc5fcfe555b67c2a3b707768d..d9a74896d5cc6bdc35707e6e32e7ab44cc69769e 100644 (file)
@@ -5352,9 +5352,9 @@ WARNING:  number of source and target fields in assignment does not match
 DETAIL:  strict_multi_assignment check of extra_warnings is active.
 HINT:  Make sure the query returns the exact list of columns.
 
- foo 
+ foo
 -----
+
 (1 row)
 
    
index 1901736e600e42a380fabaee9b0e10a184f4f77d..b43d0aecbacb529f689fdc56cf97d1e42b5a4cf1 100644 (file)
@@ -729,7 +729,7 @@ OPTIONS (ADD password_required 'false');
       Example usage of the function:
 
 postgres=# SELECT * FROM postgres_fdw_get_connections() ORDER BY 1;
- server_name | valid 
+ server_name | valid
 -------------+-------
  loopback1   | t
  loopback2   | f
@@ -754,7 +754,7 @@ postgres=# SELECT * FROM postgres_fdw_get_connections() ORDER BY 1;
       Example usage of the function:
 
 postgres=# SELECT postgres_fdw_disconnect('loopback1');
- postgres_fdw_disconnect 
+ postgres_fdw_disconnect
 -------------------------
  t
 
@@ -775,7 +775,7 @@ postgres=# SELECT postgres_fdw_disconnect('loopback1');
       Example usage of the function:
 
 postgres=# SELECT postgres_fdw_disconnect_all();
- postgres_fdw_disconnect_all 
+ postgres_fdw_disconnect_all
 -----------------------------
  t
 
index 91eaaabc90fd5ed244b44c290f08345efc53e032..d3102a87d92c36278c536f406a87c3f1fa321fe6 100644 (file)
@@ -649,9 +649,9 @@ CREATE [ UNIQUE ] INDEX [ CONCURRENTLY ] [ [ IF NOT EXISTS ] 
 
 postgres=# \d tab
        Table "public.tab"
- Column |  Type   | Collation | Nullable | Default 
+ Column |  Type   | Collation | Nullable | Default
 --------+---------+-----------+----------+---------
- col    | integer |           |          | 
+ col    | integer |           |          |
 Indexes:
     "idx" btree (col) INVALID
 
index 857c4e6e867e8e606b076ad1e6be684352979334..d4895b9d7d4f4b8d19eeb373af870bc4afea3729 100644 (file)
@@ -395,7 +395,7 @@ EXPLAIN (FORMAT YAML) SELECT * FROM foo WHERE i='4';
      Total Cost: 5.98         +
      Plan Rows: 1             +
      Plan Width: 4            +
-     Index Cond: "(i = 4)"    
+     Index Cond: "(i = 4)"
 (1 row)
 
 
@@ -442,7 +442,7 @@ PREPARE query(int, int) AS SELECT sum(bar) FROM test
 
 EXPLAIN ANALYZE EXECUTE query(100, 200);
 
-                                                       QUERY PLAN                                                       
+                                                       QUERY PLAN
 -------------------------------------------------------------------&zwsp;-----------------------------------------------------
  HashAggregate  (cost=9.54..9.54 rows=1 width=8) (actual time=0.156..0.161 rows=11 loops=1)
    Group Key: foo
index e27db3c0773772b2ced0d5000ab0852520c48d70..635e7c7685473130452bb9199956885690ded0c3 100644 (file)
@@ -160,8 +160,7 @@ pg_archivecleanup:  removing file "archive/00000001000000370000000E"
    never.
   
  
+
  
   Notes
 
index 95be7a16d24d86c6374a1357e5e25cb9adda9d71..e811f80bf40c123150fb49b3abd4ae04d62dfe3b 100644 (file)
@@ -116,7 +116,7 @@ PostgreSQL documentation
    never.
   
  
+
  
   See Also
 
index 592356019b5a4f14f9d1bd7d1440a45fdc69aeb9..8fc787073321d3f12da8626077926f0ff95e4ef0 100644 (file)
@@ -4992,7 +4992,7 @@ testdb=> \d my_table
  Column |  Type   | Collation | Nullable | Default
 --------+---------+-----------+----------+---------
  first  | integer |           | not null | 0
- second | text    |           |          | 
+ second | text    |           |          |
 
   Now we change the prompt to something more interesting:
 
@@ -5123,7 +5123,7 @@ testdb=> \df int*pl * bigint
   with the \crosstabview command:
 
 testdb=> SELECT first, second, first > 2 AS gt2 FROM my_table;
- first | second | gt2 
+ first | second | gt2
 -------+--------+-----
      1 | one    | f
      2 | two    | f
@@ -5132,11 +5132,11 @@ testdb=> SELECT first, second, first > 2 AS gt2 FROM my_table;<
 (4 rows)
 
 testdb=> \crosstabview first second
- first | one | two | three | four 
+ first | one | two | three | four
 -------+-----+-----+-------+------
-     1 | f   |     |       | 
-     2 |     | f   |       | 
-     3 |     |     | t     | 
+     1 | f   |     |       |
+     2 |     | f   |       |
+     3 |     |     | t     |
      4 |     |     |       | t
 (4 rows)
 
@@ -5148,7 +5148,7 @@ testdb=> SELECT t1.first as "A", t2.first+100 AS "B", t1.first*(t2
 testdb(> row_number() over(order by t2.first) AS ord
 testdb(> FROM my_table t1 CROSS JOIN my_table t2 ORDER BY 1 DESC
 testdb(> \crosstabview "A" "B" "AxB" ord
- A | 101 | 102 | 103 | 104 
+ A | 101 | 102 | 103 | 104
 ---+-----+-----+-----+-----
  4 | 404 | 408 | 412 | 416
  3 | 303 | 306 | 309 | 312
index 6a0eca8b9acc92f38fc1cfe96ddbf4f12d61d1f1..36cb4a455b72c2553f7d2f1cb9d35ae4221130fc 100644 (file)
@@ -309,7 +309,7 @@ REINDEX [ ( option [, ...] ) ] { IN
    reindexed in a separate transaction. Those commands cannot be used inside
    a transaction block when working on a partitioned table or index.
   
-  
+
   
    When using the TABLESPACE clause with
    REINDEX on a partitioned index or table, only the
@@ -329,7 +329,7 @@ REINDEX [ ( option [, ...] ) ] { IN
    will be generated. Indexes on TOAST tables are rebuilt, but not moved
    to the new tablespace.
   
-   
+
   
    Rebuilding Indexes Concurrently
 
index 3d5a241e1aa981be0619af4846bd21622f1c4428..27fa95cd1bc21df89223b5fc632b2b5649a41ad0 100644 (file)
@@ -112,14 +112,14 @@ DECLARE foo CURSOR FOR SELECT 1 UNION SELECT 2;
 SAVEPOINT foo;
 
 FETCH 1 FROM foo;
- ?column? 
+ ?column?
 ----------
         1
 
 ROLLBACK TO SAVEPOINT foo;
 
 FETCH 1 FROM foo;
- ?column? 
+ ?column?
 ----------
         2
 
index 8e5b83dfded202c6b4f0a1b9fcc1ec6fbfe322ec..80bb8adcaccc1c7197bf1a3c5f2e9e1fa7bd2e2b 100644 (file)
@@ -1915,7 +1915,7 @@ SELECT * FROM t
 UNION ALL
 SELECT * FROM t
 
-         x          
+         x
 --------------------
   0.534150459803641
   0.520092216785997
index f02babf3af3604d02dc7ccd5e007ca7f9fbadd92..4e02322158a34f42647bd196bf6f9bfacbe6692e 100644 (file)
@@ -115,7 +115,7 @@ RESET ROLE
 
 SELECT SESSION_USER, CURRENT_USER;
 
- session_user | current_user 
+ session_user | current_user
 --------------+--------------
  peter        | peter
 
@@ -123,7 +123,7 @@ SET ROLE 'paul';
 
 SELECT SESSION_USER, CURRENT_USER;
 
- session_user | current_user 
+ session_user | current_user
 --------------+--------------
  peter        | paul
 
index e44e78ed8d67e2b209170ca9d796ed11ef7b0054..f8fcafc1946e8ca7b54f6da9baeb2d59726d066e 100644 (file)
@@ -84,7 +84,7 @@ RESET SESSION AUTHORIZATION
 
 SELECT SESSION_USER, CURRENT_USER;
 
- session_user | current_user 
+ session_user | current_user
 --------------+--------------
  peter        | peter
 
@@ -92,7 +92,7 @@ SET SESSION AUTHORIZATION 'paul';
 
 SELECT SESSION_USER, CURRENT_USER;
 
- session_user | current_user 
+ session_user | current_user
 --------------+--------------
  paul         | paul
 
index 93789ee0be058c88712933cdf98ba4eba4390dd6..b3747b119f9d24134c49a8a540c9b84379e57d7f 100644 (file)
@@ -167,7 +167,7 @@ SHOW geqo;
    Show all settings:
 
 SHOW ALL;
-            name         | setting |                description                                                          
+            name         | setting |                description
 -------------------------+---------+-------------------------------------------------
  allow_system_table_mods | off     | Allows modifications of the structure of ...
     .
index 4b78f0be91eb5435043b90d692d13570592f4a2c..bee24b236a6ee7d30e2afe8f4208cda74bef4a95 100644 (file)
@@ -8,9 +8,9 @@
   Release date:
   2022-??-??
  
+
  
   This is just a placeholder for now.
  
+
 
index 4b2ba5a4e6e084d0227d1497cfa7d68d5f70d4b5..be3d17c85258faff89a6ca1684768ab563f2aa7e 100644 (file)
@@ -1010,7 +1010,7 @@ VACUUM ANALYZE wrd;
 
 SELECT count(*) FROM words WHERE word = 'caterpiler';
 
- count 
+ count
 -------
      0
 (1 row)
@@ -1047,7 +1047,7 @@ SELECT count(*) FROM words WHERE word = 'caterpiler';
 
 SELECT word FROM words ORDER BY word <-> 'caterpiler' LIMIT 10;
 
-     word     
+     word
 ---------------
  cater
  caterpillar
@@ -1337,7 +1337,7 @@ UPDATE shoelace_data SET sl_avail = 6 WHERE sl_name = 'sl7';
 
 SELECT * FROM shoelace_log;
 
- sl_name | sl_avail | log_who | log_when                        
+ sl_name | sl_avail | log_who | log_when
 ---------+----------+---------+----------------------------------
  sl7     |        6 | Al      | Tue Oct 20 16:14:45 1998 MET DST
 (1 row)
@@ -1718,7 +1718,7 @@ SELECT * FROM shoelace ORDER BY sl_name;
 
 SELECT * FROM shoelace_log;
 
- sl_name | sl_avail | log_who| log_when                        
+ sl_name | sl_avail | log_who| log_when
 ---------+----------+--------+----------------------------------
  sl7     |        6 | Al     | Tue Oct 20 19:14:45 1998 MET DST
  sl3     |       10 | Al     | Tue Oct 20 19:25:16 1998 MET DST
index d66560b587c66e99aaf7c79cefe91bf2b3e34917..487ea58d8954a5b5d4481c9a878b3dd0112b5351 100644 (file)
@@ -2625,7 +2625,7 @@ LANGUAGE SQL IMMUTABLE STRICT;
      to functions in PostgreSQL.  An example is:
 
 SELECT concat_lower_or_upper('Hello', 'World', true);
- concat_lower_or_upper 
+ concat_lower_or_upper
 -----------------------
  HELLO WORLD
 (1 row)
@@ -2635,7 +2635,7 @@ SELECT concat_lower_or_upper('Hello', 'World', true);
      Another example is:
 
 SELECT concat_lower_or_upper('Hello', 'World');
- concat_lower_or_upper 
+ concat_lower_or_upper
 -----------------------
  hello world
 (1 row)
@@ -2661,7 +2661,7 @@ SELECT concat_lower_or_upper('Hello', 'World');
      For example:
 
 SELECT concat_lower_or_upper(a => 'Hello', b => 'World');
- concat_lower_or_upper 
+ concat_lower_or_upper
 -----------------------
  hello world
 (1 row)
@@ -2672,13 +2672,13 @@ SELECT concat_lower_or_upper(a => 'Hello', b => 'World');
      order, for example:
 
 SELECT concat_lower_or_upper(a => 'Hello', b => 'World', uppercase => true);
- concat_lower_or_upper 
+ concat_lower_or_upper
 -----------------------
  HELLO WORLD
 (1 row)
 
 SELECT concat_lower_or_upper(a => 'Hello', uppercase => true, b => 'World');
- concat_lower_or_upper 
+ concat_lower_or_upper
 -----------------------
  HELLO WORLD
 (1 row)
@@ -2689,7 +2689,7 @@ SELECT concat_lower_or_upper(a => 'Hello', uppercase => true, b => 'Wor
       An older syntax based on ":=" is supported for backward compatibility:
 
 SELECT concat_lower_or_upper(a := 'Hello', uppercase := true, b := 'World');
- concat_lower_or_upper 
+ concat_lower_or_upper
 -----------------------
  HELLO WORLD
 (1 row)
@@ -2711,7 +2711,7 @@ SELECT concat_lower_or_upper(a := 'Hello', uppercase := true, b := 'World');
     For example:
 
 SELECT concat_lower_or_upper('Hello', 'World', uppercase => true);
- concat_lower_or_upper 
+ concat_lower_or_upper
 -----------------------
  HELLO WORLD
 (1 row)
index cf736bd41af1377483f76d40348018c369a7798c..9b0719542789526f1c3063eae274b9d244b7f800 100644 (file)
@@ -45,7 +45,7 @@ postgres=# SELECT * FROM pg_logical_slot_get_changes('test_slot', NULL, NULL, 'i
 
 
 postgres[33712]=#* SELECT * FROM pg_logical_slot_get_changes('test_slot', NULL, NULL, 'stream-changes', '1');
-    lsn    | xid |                       data                       
+    lsn    | xid |                       data
 -----------+-----+--------------------------------------------------
  0/16B21F8 | 503 | opening a streamed block for transaction TXN 503
  0/16B21F8 | 503 | streaming change for TXN 503
index 6afaf9e62c472c0c1ffcc776885d8e292a65d6a6..2cbf7e7d429519a614e878157c04e4e3f33cc88a 100644 (file)
@@ -275,7 +275,7 @@ SELECT 'fat & cow'::tsquery @@ 'a fat cat sat on a mat and ate a fat rat'::t
 
 
 SELECT to_tsvector('fat cats ate fat rats') @@ to_tsquery('fat & rat');
- ?column? 
+ ?column?
 ----------
  t
 
@@ -284,7 +284,7 @@ SELECT to_tsvector('fat cats ate fat rats') @@ to_tsquery('fat & rat');
 
 
 SELECT 'fat cats ate fat rats'::tsvector @@ to_tsquery('fat & rat');
- ?column? 
+ ?column?
 ----------
  f
 
@@ -335,12 +335,12 @@ text @@ text
 
 
 SELECT to_tsvector('fatal error') @@ to_tsquery('fatal <-> error');
- ?column? 
+ ?column?
 ----------
  t
 
 SELECT to_tsvector('error is not fatal') @@ to_tsquery('fatal <-> error');
- ?column? 
+ ?column?
 ----------
  f
 
@@ -357,12 +357,12 @@ SELECT to_tsvector('error is not fatal') @@ to_tsquery('fatal <-> error');
 
 
 SELECT phraseto_tsquery('cats ate rats');
-       phraseto_tsquery        
+       phraseto_tsquery
 -------------------------------
  'cat' <-> 'ate' <-> 'rat'
 
 SELECT phraseto_tsquery('the cats ate the rats');
-       phraseto_tsquery        
+       phraseto_tsquery
 -------------------------------
  'cat' <-> 'ate' <2> 'rat'
 
@@ -828,7 +828,7 @@ to_tsquery( config 
 
 
 SELECT to_tsquery('english', 'The & Fat & Rats');
-  to_tsquery   
+  to_tsquery
 ---------------
  'fat' & 'rat'
 
@@ -839,7 +839,7 @@ SELECT to_tsquery('english', 'The & Fat & Rats');
 
 
 SELECT to_tsquery('english', 'Fat | Rats:AB');
-    to_tsquery    
+    to_tsquery
 ------------------
  'fat' | 'rat':AB
 
@@ -848,7 +848,7 @@ SELECT to_tsquery('english', 'Fat | Rats:AB');
 
 
 SELECT to_tsquery('supern:*A & star:A*B');
-        to_tsquery        
+        to_tsquery
 --------------------------
  'supern':*A & 'star':*AB
 
@@ -897,7 +897,7 @@ plainto_tsquery( config <
 
 
 SELECT plainto_tsquery('english', 'The Fat Rats');
- plainto_tsquery 
+ plainto_tsquery
 -----------------
  'fat' & 'rat'
 
@@ -908,7 +908,7 @@ SELECT plainto_tsquery('english', 'The Fat Rats');
 
 
 SELECT plainto_tsquery('english', 'The Fat & Rats:C');
-   plainto_tsquery   
+   plainto_tsquery
 ---------------------
  'fat' & 'rat' & 'c'
 
@@ -1827,7 +1827,7 @@ CREATE TABLE aliases (t tsquery primary key, s tsquery);
 INSERT INTO aliases VALUES(to_tsquery('supernovae'), to_tsquery('supernovae|sn'));
 
 SELECT ts_rewrite(to_tsquery('supernovae & crab'), 'SELECT * FROM aliases');
-           ts_rewrite            
+           ts_rewrite
 ---------------------------------
  'crab' & ( 'supernova' | 'sn' )
 
@@ -1840,7 +1840,7 @@ SET s = to_tsquery('supernovae|sn & !nebulae')
 WHERE t = to_tsquery('supernovae');
 
 SELECT ts_rewrite(to_tsquery('supernovae & crab'), 'SELECT * FROM aliases');
-                 ts_rewrite                  
+                 ts_rewrite
 ---------------------------------------------
  'crab' & ( 'supernova' | 'sn' & !'nebula' )
 
@@ -1915,12 +1915,12 @@ tsvector_update_trigger(tsv, 'pg_catalog.english', title, body);
 INSERT INTO messages VALUES('title here', 'the body text is here');
 
 SELECT * FROM messages;
-   title    |         body          |            tsv             
+   title    |         body          |            tsv
 ------------+-----------------------+----------------------------
  title here | the body text is here | 'bodi':4 'text':5 'titl':1
 
 SELECT title, body FROM messages WHERE tsv @@ to_tsquery('title & body');
-   title    |         body          
+   title    |         body
 ------------+-----------------------
  title here | the body text is here
 
@@ -2231,7 +2231,7 @@ LIMIT 10;
 
 
 SELECT alias, description, token FROM ts_debug('foo-bar-beta1');
-      alias      |               description                |     token     
+      alias      |               description                |     token
 -----------------+------------------------------------------+---------------
  numhword        | Hyphenated word, letters and digits      | foo-bar-beta1
  hword_asciipart | Hyphenated word part, all ASCII          | foo
@@ -2247,7 +2247,7 @@ SELECT alias, description, token FROM ts_debug('foo-bar-beta1');
 
 
 SELECT alias, description, token FROM ts_debug('http://example.com/stuff/index.html');
-  alias   |  description  |            token             
+  alias   |  description  |            token
 ----------+---------------+------------------------------
  protocol | Protocol head | http://
  url      | URL           | example.com/stuff/index.html
@@ -2571,7 +2571,7 @@ SELECT ts_lexize('public.simple_dict', 'The');
 
 
 SELECT * FROM ts_debug('english', 'Paris');
-   alias   |   description   | token |  dictionaries  |  dictionary  | lexemes 
+   alias   |   description   | token |  dictionaries  |  dictionary  | lexemes
 -----------+-----------------+-------+----------------+--------------+---------
  asciiword | Word, all ASCII | Paris | {english_stem} | english_stem | {pari}
 
@@ -2585,7 +2585,7 @@ ALTER TEXT SEARCH CONFIGURATION english
     WITH my_synonym, english_stem;
 
 SELECT * FROM ts_debug('english', 'Paris');
-   alias   |   description   | token |       dictionaries        | dictionary | lexemes 
+   alias   |   description   | token |       dictionaries        | dictionary | lexemes
 -----------+-----------------+-------+---------------------------+------------+---------
  asciiword | Word, all ASCII | Paris | {my_synonym,english_stem} | my_synonym | {paris}
 
@@ -2654,7 +2654,7 @@ mydb=# SELECT to_tsquery('tst', 'indices');
 (1 row)
 
 mydb=# SELECT 'indexes are very useful'::tsvector;
-            tsvector             
+            tsvector
 ---------------------------------
  'are' 'indexes' 'useful' 'very'
 (1 row)
@@ -3355,31 +3355,31 @@ ts_debug( config re
 
 
 SELECT * FROM ts_debug('english', 'a fat  cat sat on a mat - it ate a fat rats');
-   alias   |   description   | token |  dictionaries  |  dictionary  | lexemes 
+   alias   |   description   | token |  dictionaries  |  dictionary  | lexemes
 -----------+-----------------+-------+----------------+--------------+---------
  asciiword | Word, all ASCII | a     | {english_stem} | english_stem | {}
- blank     | Space symbols   |       | {}             |              | 
+ blank     | Space symbols   |       | {}             |              |
  asciiword | Word, all ASCII | fat   | {english_stem} | english_stem | {fat}
- blank     | Space symbols   |       | {}             |              | 
+ blank     | Space symbols   |       | {}             |              |
  asciiword | Word, all ASCII | cat   | {english_stem} | english_stem | {cat}
- blank     | Space symbols   |       | {}             |              | 
+ blank     | Space symbols   |       | {}             |              |
  asciiword | Word, all ASCII | sat   | {english_stem} | english_stem | {sat}
- blank     | Space symbols   |       | {}             |              | 
+ blank     | Space symbols   |       | {}             |              |
  asciiword | Word, all ASCII | on    | {english_stem} | english_stem | {}
- blank     | Space symbols   |       | {}             |              | 
+ blank     | Space symbols   |       | {}             |              |
  asciiword | Word, all ASCII | a     | {english_stem} | english_stem | {}
- blank     | Space symbols   |       | {}             |              | 
+ blank     | Space symbols   |       | {}             |              |
  asciiword | Word, all ASCII | mat   | {english_stem} | english_stem | {mat}
- blank     | Space symbols   |       | {}             |              | 
- blank     | Space symbols   | -     | {}             |              | 
+ blank     | Space symbols   |       | {}             |              |
+ blank     | Space symbols   | -     | {}             |              |
  asciiword | Word, all ASCII | it    | {english_stem} | english_stem | {}
- blank     | Space symbols   |       | {}             |              | 
+ blank     | Space symbols   |       | {}             |              |
  asciiword | Word, all ASCII | ate   | {english_stem} | english_stem | {ate}
- blank     | Space symbols   |       | {}             |              | 
+ blank     | Space symbols   |       | {}             |              |
  asciiword | Word, all ASCII | a     | {english_stem} | english_stem | {}
- blank     | Space symbols   |       | {}             |              | 
+ blank     | Space symbols   |       | {}             |              |
  asciiword | Word, all ASCII | fat   | {english_stem} | english_stem | {fat}
- blank     | Space symbols   |       | {}             |              | 
+ blank     | Space symbols   |       | {}             |              |
  asciiword | Word, all ASCII | rats  | {english_stem} | english_stem | {rat}
 
   
@@ -3406,12 +3406,12 @@ ALTER TEXT SEARCH CONFIGURATION public.english
 
 
 SELECT * FROM ts_debug('public.english', 'The Brightest supernovaes');
-   alias   |   description   |    token    |         dictionaries          |   dictionary   |   lexemes   
+   alias   |   description   |    token    |         dictionaries          |   dictionary   |   lexemes
 -----------+-----------------+-------------+-------------------------------+----------------+-------------
  asciiword | Word, all ASCII | The         | {english_ispell,english_stem} | english_ispell | {}
- blank     | Space symbols   |             | {}                            |                | 
+ blank     | Space symbols   |             | {}                            |                |
  asciiword | Word, all ASCII | Brightest   | {english_ispell,english_stem} | english_ispell | {bright}
- blank     | Space symbols   |             | {}                            |                | 
+ blank     | Space symbols   |             | {}                            |                |
  asciiword | Word, all ASCII | supernovaes | {english_ispell,english_stem} | english_stem   | {supernova}
 
 
@@ -3445,12 +3445,12 @@ SELECT * FROM ts_debug('public.english', 'The Brightest supernovaes');
 
 SELECT alias, token, dictionary, lexemes
 FROM ts_debug('public.english', 'The Brightest supernovaes');
-   alias   |    token    |   dictionary   |   lexemes   
+   alias   |    token    |   dictionary   |   lexemes
 -----------+-------------+----------------+-------------
  asciiword | The         | english_ispell | {}
- blank     |             |                | 
+ blank     |             |                |
  asciiword | Brightest   | english_ispell | {bright}
- blank     |             |                | 
+ blank     |             |                |
  asciiword | supernovaes | english_stem   | {supernova}
 
   
@@ -3516,7 +3516,7 @@ ts_token_type(parser_oid oid<
 
 
 SELECT * FROM ts_token_type('default');
- tokid |      alias      |               description                
+ tokid |      alias      |               description
 -------+-----------------+------------------------------------------
      1 | asciiword       | Word, all ASCII
      2 | word            | Word, all letters
@@ -3799,14 +3799,14 @@ SELECT plainto_tsquery('supernovae stars');
 
 => \dF russian
             List of text search configurations
-   Schema   |  Name   |            Description             
+   Schema   |  Name   |            Description
 ------------+---------+------------------------------------
  pg_catalog | russian | configuration for russian language
 
 => \dF+ russian
 Text search configuration "pg_catalog.russian"
 Parser: "pg_catalog.default"
-      Token      | Dictionaries 
+      Token      | Dictionaries
 -----------------+--------------
  asciihword      | english_stem
  asciiword       | english_stem
@@ -3884,21 +3884,21 @@ Parser: "pg_catalog.default"
 
 => \dFp
         List of text search parsers
-   Schema   |  Name   |     Description     
+   Schema   |  Name   |     Description
 ------------+---------+---------------------
  pg_catalog | default | default word parser
 => \dFp+
     Text search parser "pg_catalog.default"
-     Method      |    Function    | Description 
+     Method      |    Function    | Description
 -----------------+----------------+-------------
- Start parse     | prsd_start     | 
- Get next token  | prsd_nexttoken | 
- End parse       | prsd_end       | 
- Get headline    | prsd_headline  | 
- Get token types | prsd_lextype   | 
+ Start parse     | prsd_start     |
+ Get next token  | prsd_nexttoken |
+ End parse       | prsd_end       |
+ Get headline    | prsd_headline  |
+ Get token types | prsd_lextype   |
 
         Token types for parser "pg_catalog.default"
-   Token name    |               Description                
+   Token name    |               Description
 -----------------+------------------------------------------
  asciihword      | Hyphenated word, all ASCII
  asciiword       | Word, all ASCII
@@ -3937,7 +3937,7 @@ Parser: "pg_catalog.default"
 
 => \dFt
                            List of text search templates
-   Schema   |   Name    |                        Description                        
+   Schema   |   Name    |                        Description
 ------------+-----------+-----------------------------------------------------------
  pg_catalog | ispell    | ispell dictionary
  pg_catalog | simple    | simple dictionary: just lower case and check for stopword
index 93f1155ab972ee78fd75ae2f0955aacfdd63059c..bdad8d3dc2b0528fece013df77213b5ce187ebef 100644 (file)
@@ -322,7 +322,7 @@ SELECT attrelid::regclass, array_accum(attname)
     WHERE attnum > 0 AND attrelid = 'pg_tablespace'::regclass
     GROUP BY attrelid;
 
-   attrelid    |              array_accum              
+   attrelid    |              array_accum
 ---------------+---------------------------------------
  pg_tablespace | {spcname,spcowner,spcacl,spcoptions}
 (1 row)
@@ -332,7 +332,7 @@ SELECT attrelid::regclass, array_accum(atttypid::regtype)
     WHERE attnum > 0 AND attrelid = 'pg_tablespace'::regclass
     GROUP BY attrelid;
 
-   attrelid    |        array_accum        
+   attrelid    |        array_accum
 ---------------+---------------------------
  pg_tablespace | {name,oid,aclitem[],text[]}
 (1 row)
index fb8255f136ebcc8dbbb22c95421a91bbb93063dc..07c5fd198b267a6ff4f11f90ab4da592233e8767 100644 (file)
@@ -836,7 +836,7 @@ CREATE FUNCTION mleast(VARIADIC arr numeric[]) RETURNS numeric AS $$
 $$ LANGUAGE SQL;
 
 SELECT mleast(10, -1, 5, 4.4);
- mleast 
+ mleast
 --------
      -1
 (1 row)
@@ -942,19 +942,19 @@ AS $$
 $$;
 
 SELECT foo(10, 20, 30);
- foo 
+ foo
 -----
   60
 (1 row)
 
 SELECT foo(10, 20);
- foo 
+ foo
 -----
   33
 (1 row)
 
 SELECT foo(10);
- foo 
+ foo
 -----
   15
 (1 row)
@@ -1387,7 +1387,7 @@ SELECT make_array2(1, 2.5) AS numericarray;
      also works:
 
 SELECT make_array2('a', 'b') AS textarray;
- textarray 
+ textarray
 -----------
  {a,b}
 (1 row)
@@ -1440,13 +1440,13 @@ CREATE FUNCTION anyleast (VARIADIC anyarray) RETURNS anyelement AS $$
 $$ LANGUAGE SQL;
 
 SELECT anyleast(10, -1, 5, 4);
- anyleast 
+ anyleast
 ----------
        -1
 (1 row)
 
 SELECT anyleast('abc'::text, 'def');
- anyleast 
+ anyleast
 ----------
  abc
 (1 row)
@@ -1456,7 +1456,7 @@ CREATE FUNCTION concat_values(text, VARIADIC anyarray) RETURNS text AS $$
 $$ LANGUAGE SQL;
 
 SELECT concat_values('|', 1, 4, 2);
- concat_values 
+ concat_values
 ---------------
  1|4|2
 (1 row)