Skip to content

Commit 5a892c9

Browse files
committed
Fix some trailing whitespace in documentation files
1 parent 5fbb2d8 commit 5a892c9

File tree

7 files changed

+17
-17
lines changed

7 files changed

+17
-17
lines changed

doc/src/sgml/adminpack.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
functions in <xref linkend="functions-admin-genfile-table"/>, which
2323
provide read-only access.)
2424
Only files within the database cluster directory can be accessed, unless the
25-
user is a superuser or given privileges of one of the pg_read_server_files,
25+
user is a superuser or given privileges of one of the pg_read_server_files,
2626
or pg_write_server_files roles, as appropriate for the function, but either a
2727
relative or absolute path is allowable.
2828
</para>

doc/src/sgml/custom-rmgr.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ typedef struct RmgrData
5555
void (*rm_decode) (struct LogicalDecodingContext *ctx,
5656
struct XLogRecordBuffer *buf);
5757
} RmgrData;
58-
</programlisting>
58+
</programlisting>
5959
</para>
6060
<para>
6161
Then, register your new resource
@@ -88,7 +88,7 @@ extern void RegisterCustomRmgr(RmgrId rmid, RmgrData *rmgr);
8888
during <productname>PostgreSQL</productname> startup.
8989
</para>
9090
<note>
91-
<para>
91+
<para>
9292
The extension must remain in shared_preload_libraries as long as any
9393
custom WAL records may exist in the system. Otherwise
9494
<productname>PostgreSQL</productname> will not be able to apply or decode

doc/src/sgml/func.sgml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17758,7 +17758,7 @@ $.* ? (@ like_regex "^\\d+$")
1775817758
<title>Notes</title>
1775917759
<para>
1776017760
Alternatively, you can construct <acronym>JSON</acronym> values simply
17761-
using <productname>PostgreSQL</productname>-specific casts to
17761+
using <productname>PostgreSQL</productname>-specific casts to
1776217762
<type>json</type> and <type>jsonb</type> types.
1776317763
</para>
1776417764
</sect5>
@@ -19127,7 +19127,7 @@ FROM my_films;
1912719127
SELECT
1912819128
JSON_QUERY(js, '$.favorites[*].kind' ERROR ON ERROR)
1912919129
FROM my_films;
19130-
ERROR: more than one SQL/JSON item
19130+
ERROR: more than one SQL/JSON item
1913119131
</screen>
1913219132

1913319133
<para>
@@ -19175,7 +19175,7 @@ SELECT JSON_QUERY(jsonb '"aaa"', '$' RETURNING text OMIT QUOTES);
1917519175

1917619176
<synopsis>
1917719177
<replaceable class="parameter">expression</replaceable>
19178-
IS <optional> NOT </optional> JSON
19178+
IS <optional> NOT </optional> JSON
1917919179
<optional> { VALUE | SCALAR | ARRAY | OBJECT } </optional>
1918019180
<optional> { WITH | WITHOUT } UNIQUE <optional> KEYS </optional> </optional>
1918119181
</synopsis>
@@ -19294,16 +19294,16 @@ SELECT JSON_QUERY(jsonb '"aaa"', '$' RETURNING text OMIT QUOTES);
1929419294
</para>
1929519295
<screen>
1929619296
SELECT
19297-
js,
19298-
js IS JSON "is json",
19297+
js,
19298+
js IS JSON "is json",
1929919299
js IS NOT JSON "is not json",
1930019300
js IS JSON SCALAR "is scalar",
1930119301
js IS JSON OBJECT "is object",
1930219302
js IS JSON ARRAY "is array"
19303-
FROM
19303+
FROM
1930419304
(VALUES ('123'), ('"abc"'), ('{"a": "b"}'), ('[1,2]'), ('abc')) foo(js);
1930519305

19306-
js | is json | is not json | is scalar | is object | is array
19306+
js | is json | is not json | is scalar | is object | is array
1930719307
------------+---------+-------------+-----------+-----------|-------------
1930819308
123 | t | f | t | f | f
1930919309
"abc" | t | f | t | f | f
@@ -19704,7 +19704,7 @@ where <replaceable class="parameter">json_table_column</replaceable> is:
1970419704
<listitem>
1970519705

1970619706
<para>
19707-
Use <literal>CROSS JOIN</literal>, so that the output includes
19707+
Use <literal>CROSS JOIN</literal>, so that the output includes
1970819708
a row for every possible combination of rows from the left-hand
1970919709
and the right-hand columns.
1971019710
</para>
@@ -19743,7 +19743,7 @@ where <replaceable class="parameter">json_table_column</replaceable> is:
1974319743
some JSON data about the films and create a view that
1974419744
distributes the film genre, title, and director between separate columns:
1974519745
<screen>
19746-
SELECT jt.* FROM
19746+
SELECT jt.* FROM
1974719747
my_films,
1974819748
JSON_TABLE ( js, '$.favorites[*]' COLUMNS (
1974919749
id FOR ORDINALITY,
@@ -19864,7 +19864,7 @@ JSON_SERIALIZE (
1986419864
<title>Notes</title>
1986519865
<para>
1986619866
Alternatively, you can construct <acronym>JSON</acronym> values simply
19867-
using <productname>PostgreSQL</productname>-specific casts to
19867+
using <productname>PostgreSQL</productname>-specific casts to
1986819868
<type>json</type> and <type>jsonb</type> types.
1986919869
</para>
1987019870
</sect5>

doc/src/sgml/high-availability.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ protocol to make nodes agree on a serializable transactional order.
548548
rollforward will take considerably longer, so that technique only
549549
offers a solution for disaster recovery, not high availability.
550550
A standby server can also be used for read-only queries, in which case
551-
it is called a <firstterm>hot standby</firstterm> server. See
551+
it is called a <firstterm>hot standby</firstterm> server. See
552552
<xref linkend="hot-standby"/> for more information.
553553
</para>
554554

doc/src/sgml/pgwalinspect.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ postgres=# select start_lsn, end_lsn, prev_lsn, xid, resource_manager, record_ty
150150
<listitem>
151151
<para>
152152
This function is same as <function>pg_get_wal_records_info()</function>
153-
except that it gets information of all the valid WAL records from
153+
except that it gets information of all the valid WAL records from
154154
<replaceable>start_lsn</replaceable> till the end of WAL.
155155
</para>
156156
</listitem>

doc/src/sgml/ref/pgbench.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ tps = 896.967014 (without initial connection time)
6969
The first seven lines report some of the most important parameter
7070
settings.
7171
The sixth line reports the maximum number of tries for transactions with
72-
serialization or deadlock errors (see <xref linkend="failures-and-retries"/>
72+
serialization or deadlock errors (see <xref linkend="failures-and-retries"/>
7373
for more information).
7474
The eighth line reports the number of transactions completed
7575
and intended (the latter being just the product of number of clients

doc/src/sgml/runtime.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2194,7 +2194,7 @@ pg_dumpall -p 5432 | psql -d postgres -p 5433
21942194
<acronym>TLS</acronym> protocol. <acronym>SSL</acronym> protocols are the
21952195
precursors to <acronym>TLS</acronym> protocols, and the term
21962196
<acronym>SSL</acronym> is still used for encrypted connections even though
2197-
<acronym>SSL</acronym> protocols are no longer supported.
2197+
<acronym>SSL</acronym> protocols are no longer supported.
21982198
<acronym>SSL</acronym> is used interchangeably with <acronym>TLS</acronym>
21992199
in <productname>PostgreSQL</productname>.
22002200

0 commit comments

Comments
 (0)