From 5a892c9b154f513a42c4a42cdfdae524ce33c86a Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Sat, 16 Apr 2022 09:05:07 +0200 Subject: [PATCH] Fix some trailing whitespace in documentation files --- doc/src/sgml/adminpack.sgml | 2 +- doc/src/sgml/custom-rmgr.sgml | 4 ++-- doc/src/sgml/func.sgml | 20 ++++++++++---------- doc/src/sgml/high-availability.sgml | 2 +- doc/src/sgml/pgwalinspect.sgml | 2 +- doc/src/sgml/ref/pgbench.sgml | 2 +- doc/src/sgml/runtime.sgml | 2 +- 7 files changed, 17 insertions(+), 17 deletions(-) diff --git a/doc/src/sgml/adminpack.sgml b/doc/src/sgml/adminpack.sgml index 5702456cd2..40cab29b24 100644 --- a/doc/src/sgml/adminpack.sgml +++ b/doc/src/sgml/adminpack.sgml @@ -22,7 +22,7 @@ functions in , which provide read-only access.) Only files within the database cluster directory can be accessed, unless the - user is a superuser or given privileges of one of the pg_read_server_files, + user is a superuser or given privileges of one of the pg_read_server_files, or pg_write_server_files roles, as appropriate for the function, but either a relative or absolute path is allowable. diff --git a/doc/src/sgml/custom-rmgr.sgml b/doc/src/sgml/custom-rmgr.sgml index dd917c54b6..acf5077d75 100644 --- a/doc/src/sgml/custom-rmgr.sgml +++ b/doc/src/sgml/custom-rmgr.sgml @@ -55,7 +55,7 @@ typedef struct RmgrData void (*rm_decode) (struct LogicalDecodingContext *ctx, struct XLogRecordBuffer *buf); } RmgrData; - + Then, register your new resource @@ -88,7 +88,7 @@ extern void RegisterCustomRmgr(RmgrId rmid, RmgrData *rmgr); during PostgreSQL startup. - + The extension must remain in shared_preload_libraries as long as any custom WAL records may exist in the system. Otherwise PostgreSQL will not be able to apply or decode diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 93ba39eff1..489184a4f0 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -17758,7 +17758,7 @@ $.* ? (@ like_regex "^\\d+$") Notes Alternatively, you can construct JSON values simply - using PostgreSQL-specific casts to + using PostgreSQL-specific casts to json and jsonb types. @@ -19127,7 +19127,7 @@ FROM my_films; SELECT JSON_QUERY(js, '$.favorites[*].kind' ERROR ON ERROR) FROM my_films; -ERROR: more than one SQL/JSON item +ERROR: more than one SQL/JSON item @@ -19175,7 +19175,7 @@ SELECT JSON_QUERY(jsonb '"aaa"', '$' RETURNING text OMIT QUOTES); expression - IS NOT JSON + IS NOT JSON { VALUE | SCALAR | ARRAY | OBJECT } { WITH | WITHOUT } UNIQUE KEYS @@ -19294,16 +19294,16 @@ SELECT JSON_QUERY(jsonb '"aaa"', '$' RETURNING text OMIT QUOTES); SELECT - js, - js IS JSON "is json", + js, + js IS JSON "is json", js IS NOT JSON "is not json", js IS JSON SCALAR "is scalar", js IS JSON OBJECT "is object", js IS JSON ARRAY "is array" -FROM +FROM (VALUES ('123'), ('"abc"'), ('{"a": "b"}'), ('[1,2]'), ('abc')) foo(js); - js | is json | is not json | is scalar | is object | is array + js | is json | is not json | is scalar | is object | is array ------------+---------+-------------+-----------+-----------|------------- 123 | t | f | t | f | f "abc" | t | f | t | f | f @@ -19704,7 +19704,7 @@ where json_table_column is: - Use CROSS JOIN, so that the output includes + Use CROSS JOIN, so that the output includes a row for every possible combination of rows from the left-hand and the right-hand columns. @@ -19743,7 +19743,7 @@ where json_table_column is: some JSON data about the films and create a view that distributes the film genre, title, and director between separate columns: -SELECT jt.* FROM +SELECT jt.* FROM my_films, JSON_TABLE ( js, '$.favorites[*]' COLUMNS ( id FOR ORDINALITY, @@ -19864,7 +19864,7 @@ JSON_SERIALIZE ( Notes Alternatively, you can construct JSON values simply - using PostgreSQL-specific casts to + using PostgreSQL-specific casts to json and jsonb types. diff --git a/doc/src/sgml/high-availability.sgml b/doc/src/sgml/high-availability.sgml index b0a653373d..db1bde4706 100644 --- a/doc/src/sgml/high-availability.sgml +++ b/doc/src/sgml/high-availability.sgml @@ -548,7 +548,7 @@ protocol to make nodes agree on a serializable transactional order. rollforward will take considerably longer, so that technique only offers a solution for disaster recovery, not high availability. A standby server can also be used for read-only queries, in which case - it is called a hot standby server. See + it is called a hot standby server. See for more information. diff --git a/doc/src/sgml/pgwalinspect.sgml b/doc/src/sgml/pgwalinspect.sgml index 44010a5b0a..c1d4fbc66c 100644 --- a/doc/src/sgml/pgwalinspect.sgml +++ b/doc/src/sgml/pgwalinspect.sgml @@ -150,7 +150,7 @@ postgres=# select start_lsn, end_lsn, prev_lsn, xid, resource_manager, record_ty This function is same as pg_get_wal_records_info() - except that it gets information of all the valid WAL records from + except that it gets information of all the valid WAL records from start_lsn till the end of WAL. diff --git a/doc/src/sgml/ref/pgbench.sgml b/doc/src/sgml/ref/pgbench.sgml index 1a630f020b..387a836287 100644 --- a/doc/src/sgml/ref/pgbench.sgml +++ b/doc/src/sgml/ref/pgbench.sgml @@ -69,7 +69,7 @@ tps = 896.967014 (without initial connection time) The first seven lines report some of the most important parameter settings. The sixth line reports the maximum number of tries for transactions with - serialization or deadlock errors (see + serialization or deadlock errors (see for more information). The eighth line reports the number of transactions completed and intended (the latter being just the product of number of clients diff --git a/doc/src/sgml/runtime.sgml b/doc/src/sgml/runtime.sgml index f5f4e3fab5..4465c876b1 100644 --- a/doc/src/sgml/runtime.sgml +++ b/doc/src/sgml/runtime.sgml @@ -2194,7 +2194,7 @@ pg_dumpall -p 5432 | psql -d postgres -p 5433 TLS protocol. SSL protocols are the precursors to TLS protocols, and the term SSL is still used for encrypted connections even though - SSL protocols are no longer supported. + SSL protocols are no longer supported. SSL is used interchangeably with TLS in PostgreSQL.