From: Peter Eisentraut <peter_e@gmx.net> Date: Sat, 2 Sep 2017 03:34:03 +0000 (-0400) Subject: doc: Fix typos and other minor issues X-Git-Tag: REL_10_RC1~45 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c6a7fcb49a60081c04c8e421fbc21475ad6943d8;p=postgresql doc: Fix typos and other minor issues Author: Alexander Lakhin <exclusion@gmail.com> --- diff --git a/doc/src/sgml/catalogs.sgml b/doc/src/sgml/catalogs.sgml index ef7054cf26..3126990f4d 100644 --- a/doc/src/sgml/catalogs.sgml +++ b/doc/src/sgml/catalogs.sgml @@ -5385,7 +5385,7 @@ SCRAM-SHA-256$<replaceable><iteration count></>:<replaceable><salt>< <row> <entry><structfield>pubname</structfield></entry> - <entry><type>Name</type></entry> + <entry><type>name</type></entry> <entry></entry> <entry>Name of the publication</entry> </row> diff --git a/doc/src/sgml/event-trigger.sgml b/doc/src/sgml/event-trigger.sgml index 3ed14f08c0..c7b880d7c9 100644 --- a/doc/src/sgml/event-trigger.sgml +++ b/doc/src/sgml/event-trigger.sgml @@ -565,6 +565,7 @@ <entry align="center"><literal>X</literal></entry> <entry align="center"><literal>-</literal></entry> <entry align="center"><literal>-</literal></entry> + <entry align="center"></entry> </row> <row> <entry align="left"><literal>CREATE USER MAPPING</literal></entry> diff --git a/doc/src/sgml/indexam.sgml b/doc/src/sgml/indexam.sgml index ac512588e2..aa3d371d2e 100644 --- a/doc/src/sgml/indexam.sgml +++ b/doc/src/sgml/indexam.sgml @@ -559,7 +559,7 @@ amgettuple (IndexScanDesc scan, a <structname>HeapTuple</> pointer stored at <literal>scan->xs_hitup</>, with tuple descriptor <literal>scan->xs_hitupdesc</>. (The latter format should be used when reconstructing data that might possibly not fit - into an IndexTuple.) In either case, + into an <structname>IndexTuple</>.) In either case, management of the data referenced by the pointer is the access method's responsibility. The data must remain good at least until the next <function>amgettuple</>, <function>amrescan</>, or <function>amendscan</> diff --git a/doc/src/sgml/logicaldecoding.sgml b/doc/src/sgml/logicaldecoding.sgml index f8142518c1..35ac5abbe5 100644 --- a/doc/src/sgml/logicaldecoding.sgml +++ b/doc/src/sgml/logicaldecoding.sgml @@ -345,7 +345,7 @@ $ pg_recvlogical -d postgres --slot test --drop-slot <para> The <link linkend="view-pg-replication-slots"><structname>pg_replication_slots</structname></link> view and the - <link linkend="monitoring-stats-views-table"><structname>pg_stat_replication</structname></link> + <link linkend="pg-stat-replication-view"><structname>pg_stat_replication</structname></link> view provide information about the current state of replication slots and streaming replication connections respectively. These views apply to both physical and logical replication. diff --git a/doc/src/sgml/perform.sgml b/doc/src/sgml/perform.sgml index 924f6091ba..1346328653 100644 --- a/doc/src/sgml/perform.sgml +++ b/doc/src/sgml/perform.sgml @@ -1840,7 +1840,7 @@ SELECT * FROM x, y, a, b, c WHERE something AND somethingelse; <listitem> <para> Increase <xref linkend="guc-max-wal-size"> and <xref - linkend="guc-checkpoint-timeout"> ; this reduces the frequency + linkend="guc-checkpoint-timeout">; this reduces the frequency of checkpoints, but increases the storage requirements of <filename>/pg_wal</>. </para> diff --git a/doc/src/sgml/ref/alter_sequence.sgml b/doc/src/sgml/ref/alter_sequence.sgml index 3a04d07ecc..190c8d6485 100644 --- a/doc/src/sgml/ref/alter_sequence.sgml +++ b/doc/src/sgml/ref/alter_sequence.sgml @@ -89,7 +89,7 @@ ALTER SEQUENCE [ IF EXISTS ] <replaceable class="parameter">name</replaceable> S The optional clause <literal>AS <replaceable class="parameter">data_type</replaceable></literal> changes the data type of the sequence. Valid types are - are <literal>smallint</literal>, <literal>integer</literal>, + <literal>smallint</literal>, <literal>integer</literal>, and <literal>bigint</literal>. </para> diff --git a/doc/src/sgml/ref/alter_table.sgml b/doc/src/sgml/ref/alter_table.sgml index 69600321e6..dae63077ee 100644 --- a/doc/src/sgml/ref/alter_table.sgml +++ b/doc/src/sgml/ref/alter_table.sgml @@ -620,8 +620,8 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> <literal>SHARE UPDATE EXCLUSIVE</literal> lock will be taken for fillfactor and autovacuum storage parameters, as well as the following planner related parameters: - effective_io_concurrency, parallel_workers, seq_page_cost - random_page_cost, n_distinct and n_distinct_inherited. + <varname>effective_io_concurrency</>, <varname>parallel_workers</>, <varname>seq_page_cost</>, + <varname>random_page_cost</>, <varname>n_distinct</> and <varname>n_distinct_inherited</>. </para> <note> diff --git a/doc/src/sgml/ref/copy.sgml b/doc/src/sgml/ref/copy.sgml index 8de1150dfb..732efe69e6 100644 --- a/doc/src/sgml/ref/copy.sgml +++ b/doc/src/sgml/ref/copy.sgml @@ -482,7 +482,7 @@ COPY <replaceable class="parameter">count</replaceable> <para> For identity columns, the <command>COPY FROM</command> command will always write the column values provided in the input data, like - the <command>INPUT</command> option <literal>OVERRIDING SYSTEM + the <command>INSERT</command> option <literal>OVERRIDING SYSTEM VALUE</literal>. </para> diff --git a/doc/src/sgml/ref/create_sequence.sgml b/doc/src/sgml/ref/create_sequence.sgml index f1448e7ab3..2af8c8d23e 100644 --- a/doc/src/sgml/ref/create_sequence.sgml +++ b/doc/src/sgml/ref/create_sequence.sgml @@ -119,7 +119,7 @@ SELECT * FROM <replaceable>name</replaceable>; The optional clause <literal>AS <replaceable class="parameter">data_type</replaceable></literal> specifies the data type of the sequence. Valid types are - are <literal>smallint</literal>, <literal>integer</literal>, + <literal>smallint</literal>, <literal>integer</literal>, and <literal>bigint</literal>. <literal>bigint</literal> is the default. The data type determines the default minimum and maximum values of the sequence. diff --git a/doc/src/sgml/ref/create_table.sgml b/doc/src/sgml/ref/create_table.sgml index e9c2c49533..a6ca590249 100644 --- a/doc/src/sgml/ref/create_table.sgml +++ b/doc/src/sgml/ref/create_table.sgml @@ -473,8 +473,8 @@ FROM ( { <replaceable class="PARAMETER">numeric_literal</replaceable> | <replace <firstterm>partitioned</firstterm> table. The parenthesized list of columns or expressions forms the <firstterm>partition key</firstterm> for the table. When using range partitioning, the partition key can - include multiple columns or expressions (up to 32, but this limit can - altered when building <productname>PostgreSQL</productname>.), but for + include multiple columns or expressions (up to 32, but this limit can be + altered when building <productname>PostgreSQL</productname>), but for list partitioning, the partition key must consist of a single column or expression. If no B-tree operator class is specified when creating a partitioned table, the default B-tree operator class for the datatype will diff --git a/doc/src/sgml/release-10.sgml b/doc/src/sgml/release-10.sgml index f439869613..1a9110614d 100644 --- a/doc/src/sgml/release-10.sgml +++ b/doc/src/sgml/release-10.sgml @@ -2905,7 +2905,7 @@ --> <para> Overhaul documentation <link linkend="docguide-toolsets">build - process</> (Alexander Lakhin, Alexander Law) + process</> (Alexander Lakhin) </para> </listitem> @@ -2919,7 +2919,7 @@ </para> <para> - Previously <application>Jade</>, <acronym>DSSSL,</> and + Previously <application>Jade</>, <acronym>DSSSL</>, and <application>JadeTex</> were used. </para> </listitem>