mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-12 18:34:36 +08:00
doc: Remove some trailing whitespace
Per discussion, we will not at this time remove trailing whitespace in psql output displays where it is part of the actual psql output. From: Vladimir Rusinov <vrusinov@google.com>
This commit is contained in:
parent
01776a07b3
commit
b645a05fc6
@ -1181,7 +1181,7 @@ include_dir 'conf.d'
|
|||||||
it in plaintext. <literal>on</> and <literal>off</> are also accepted, as
|
it in plaintext. <literal>on</> and <literal>off</> are also accepted, as
|
||||||
aliases for <literal>md5</> and <literal>plain</>, respectively.
|
aliases for <literal>md5</> and <literal>plain</>, respectively.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
|
@ -134,12 +134,12 @@ EXPLAIN SELECT * FROM pgbench_accounts WHERE filler LIKE '%x%';
|
|||||||
|
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
The query writes any data or locks any database rows. If a query
|
The query writes any data or locks any database rows. If a query
|
||||||
contains a data-modifying operation either at the top level or within
|
contains a data-modifying operation either at the top level or within
|
||||||
a CTE, no parallel plans for that query will be generated. This is a
|
a CTE, no parallel plans for that query will be generated. This is a
|
||||||
limitation of the current implementation which could be lifted in a
|
limitation of the current implementation which could be lifted in a
|
||||||
future release.
|
future release.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
@ -153,7 +153,7 @@ EXPLAIN SELECT * FROM pgbench_accounts WHERE filler LIKE '%x%';
|
|||||||
<literal>FOR x IN query LOOP .. END LOOP</literal> will never use a
|
<literal>FOR x IN query LOOP .. END LOOP</literal> will never use a
|
||||||
parallel plan, because the parallel query system is unable to verify
|
parallel plan, because the parallel query system is unable to verify
|
||||||
that the code in the loop is safe to execute while parallel query is
|
that the code in the loop is safe to execute while parallel query is
|
||||||
active.
|
active.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
@ -174,7 +174,7 @@ EXPLAIN SELECT * FROM pgbench_accounts WHERE filler LIKE '%x%';
|
|||||||
query itself, that query will never use a parallel plan. This is a
|
query itself, that query will never use a parallel plan. This is a
|
||||||
limitation of the current implementation, but it may not be desirable
|
limitation of the current implementation, but it may not be desirable
|
||||||
to remove this limitation, since it could result in a single query
|
to remove this limitation, since it could result in a single query
|
||||||
using a very large number of processes.
|
using a very large number of processes.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
@ -197,7 +197,7 @@ EXPLAIN SELECT * FROM pgbench_accounts WHERE filler LIKE '%x%';
|
|||||||
|
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
No background workers can be obtained because of the limitation that
|
No background workers can be obtained because of the limitation that
|
||||||
the total number of background workers cannot exceed
|
the total number of background workers cannot exceed
|
||||||
<xref linkend="guc-max-worker-processes">.
|
<xref linkend="guc-max-worker-processes">.
|
||||||
@ -205,7 +205,7 @@ EXPLAIN SELECT * FROM pgbench_accounts WHERE filler LIKE '%x%';
|
|||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
No background workers can be obtained because of the limitation that
|
No background workers can be obtained because of the limitation that
|
||||||
the total number of background workers launched for purposes of
|
the total number of background workers launched for purposes of
|
||||||
parallel query cannot exceed <xref linkend="guc-max-parallel-workers">.
|
parallel query cannot exceed <xref linkend="guc-max-parallel-workers">.
|
||||||
@ -213,7 +213,7 @@ EXPLAIN SELECT * FROM pgbench_accounts WHERE filler LIKE '%x%';
|
|||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
The client sends an Execute message with a non-zero fetch count.
|
The client sends an Execute message with a non-zero fetch count.
|
||||||
See the discussion of the
|
See the discussion of the
|
||||||
<link linkend="protocol-flow-ext-query">extended query protocol</link>.
|
<link linkend="protocol-flow-ext-query">extended query protocol</link>.
|
||||||
@ -228,7 +228,7 @@ EXPLAIN SELECT * FROM pgbench_accounts WHERE filler LIKE '%x%';
|
|||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
A prepared statement is executed using a <literal>CREATE TABLE .. AS
|
A prepared statement is executed using a <literal>CREATE TABLE .. AS
|
||||||
EXECUTE ..</literal> statement. This construct converts what otherwise
|
EXECUTE ..</literal> statement. This construct converts what otherwise
|
||||||
would have been a read-only operation into a read-write operation,
|
would have been a read-only operation into a read-write operation,
|
||||||
@ -237,7 +237,7 @@ EXPLAIN SELECT * FROM pgbench_accounts WHERE filler LIKE '%x%';
|
|||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
The transaction isolation level is serializable. This situation
|
The transaction isolation level is serializable. This situation
|
||||||
does not normally arise, because parallel query plans are not
|
does not normally arise, because parallel query plans are not
|
||||||
generated when the transaction isolation level is serializable.
|
generated when the transaction isolation level is serializable.
|
||||||
@ -467,7 +467,7 @@ EXPLAIN SELECT * FROM pgbench_accounts WHERE filler LIKE '%x%';
|
|||||||
transaction. If you write a function which does this, and this behavior
|
transaction. If you write a function which does this, and this behavior
|
||||||
difference is important to you, mark such functions as
|
difference is important to you, mark such functions as
|
||||||
<literal>PARALLEL RESTRICTED</literal>
|
<literal>PARALLEL RESTRICTED</literal>
|
||||||
to ensure that they execute only in the leader.
|
to ensure that they execute only in the leader.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
@ -475,7 +475,7 @@ EXPLAIN SELECT * FROM pgbench_accounts WHERE filler LIKE '%x%';
|
|||||||
parallel-restricted functions or aggregates involved in the query in
|
parallel-restricted functions or aggregates involved in the query in
|
||||||
order to obtain a superior plan. So, for example, if a <literal>WHERE</>
|
order to obtain a superior plan. So, for example, if a <literal>WHERE</>
|
||||||
clause applied to a particular table is parallel restricted, the query
|
clause applied to a particular table is parallel restricted, the query
|
||||||
planner will not consider placing the scan of that table below a
|
planner will not consider placing the scan of that table below a
|
||||||
<literal>Gather</> node. In some cases, it would be
|
<literal>Gather</> node. In some cases, it would be
|
||||||
possible (and perhaps even efficient) to include the scan of that table in
|
possible (and perhaps even efficient) to include the scan of that table in
|
||||||
the parallel portion of the query and defer the evaluation of the
|
the parallel portion of the query and defer the evaluation of the
|
||||||
|
@ -1121,7 +1121,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable>
|
|||||||
Also, because selecting from the parent also selects from its descendents,
|
Also, because selecting from the parent also selects from its descendents,
|
||||||
a constraint on the parent cannot be marked valid unless it is also marked
|
a constraint on the parent cannot be marked valid unless it is also marked
|
||||||
valid for those descendents. In all of these cases, <command>ALTER TABLE
|
valid for those descendents. In all of these cases, <command>ALTER TABLE
|
||||||
ONLY</command> will be rejected.
|
ONLY</command> will be rejected.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
|
@ -526,7 +526,7 @@ INSERT <replaceable>oid</replaceable> <replaceable class="parameter">count</repl
|
|||||||
updated by the command.
|
updated by the command.
|
||||||
</para>
|
</para>
|
||||||
</refsect1>
|
</refsect1>
|
||||||
|
|
||||||
<refsect1>
|
<refsect1>
|
||||||
<title>Notes</title>
|
<title>Notes</title>
|
||||||
|
|
||||||
|
@ -73,7 +73,7 @@ PREPARE <replaceable class="PARAMETER">name</replaceable> [ ( <replaceable class
|
|||||||
Prepared statements potentially have the largest performance advantage
|
Prepared statements potentially have the largest performance advantage
|
||||||
when a single session is being used to execute a large number of similar
|
when a single session is being used to execute a large number of similar
|
||||||
statements. The performance difference will be particularly
|
statements. The performance difference will be particularly
|
||||||
significant if the statements are complex to plan or rewrite, e.g.
|
significant if the statements are complex to plan or rewrite, e.g.
|
||||||
if the query involves a join of many tables or requires
|
if the query involves a join of many tables or requires
|
||||||
the application of several rules. If the statement is relatively simple
|
the application of several rules. If the statement is relatively simple
|
||||||
to plan and rewrite but relatively expensive to execute, the
|
to plan and rewrite but relatively expensive to execute, the
|
||||||
|
@ -24,7 +24,7 @@ PostgreSQL documentation
|
|||||||
<command>reindexdb</command>
|
<command>reindexdb</command>
|
||||||
<arg rep="repeat"><replaceable>connection-option</replaceable></arg>
|
<arg rep="repeat"><replaceable>connection-option</replaceable></arg>
|
||||||
<arg rep="repeat"><replaceable>option</replaceable></arg>
|
<arg rep="repeat"><replaceable>option</replaceable></arg>
|
||||||
|
|
||||||
<arg choice="plain" rep="repeat">
|
<arg choice="plain" rep="repeat">
|
||||||
<arg choice="opt">
|
<arg choice="opt">
|
||||||
<group choice="plain">
|
<group choice="plain">
|
||||||
|
Loading…
Reference in New Issue
Block a user