aboutsummaryrefslogtreecommitdiff
path: root/doc/src/sgml/ref/create_statistics.sgml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/sgml/ref/create_statistics.sgml')
-rw-r--r--doc/src/sgml/ref/create_statistics.sgml10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/src/sgml/ref/create_statistics.sgml b/doc/src/sgml/ref/create_statistics.sgml
index 0d68ca06b72..066af8a4b4d 100644
--- a/doc/src/sgml/ref/create_statistics.sgml
+++ b/doc/src/sgml/ref/create_statistics.sgml
@@ -41,7 +41,7 @@ CREATE STATISTICS [ IF NOT EXISTS ] <replaceable class="parameter">statistics_na
<para>
If a schema name is given (for example, <literal>CREATE STATISTICS
- myschema.mystat ...</>) then the statistics object is created in the
+ myschema.mystat ...</literal>) then the statistics object is created in the
specified schema. Otherwise it is created in the current schema.
The name of the statistics object must be distinct from the name of any
other statistics object in the same schema.
@@ -54,7 +54,7 @@ CREATE STATISTICS [ IF NOT EXISTS ] <replaceable class="parameter">statistics_na
<variablelist>
<varlistentry>
- <term><literal>IF NOT EXISTS</></term>
+ <term><literal>IF NOT EXISTS</literal></term>
<listitem>
<para>
Do not throw an error if a statistics object with the same name already
@@ -129,7 +129,7 @@ CREATE STATISTICS [ IF NOT EXISTS ] <replaceable class="parameter">statistics_na
<title>Examples</title>
<para>
- Create table <structname>t1</> with two functionally dependent columns, i.e.
+ Create table <structname>t1</structname> with two functionally dependent columns, i.e.
knowledge of a value in the first column is sufficient for determining the
value in the other column. Then functional dependency statistics are built
on those columns:
@@ -157,10 +157,10 @@ EXPLAIN ANALYZE SELECT * FROM t1 WHERE (a = 1) AND (b = 0);
</programlisting>
Without functional-dependency statistics, the planner would assume
- that the two <literal>WHERE</> conditions are independent, and would
+ that the two <literal>WHERE</literal> conditions are independent, and would
multiply their selectivities together to arrive at a much-too-small
row count estimate.
- With such statistics, the planner recognizes that the <literal>WHERE</>
+ With such statistics, the planner recognizes that the <literal>WHERE</literal>
conditions are redundant and does not underestimate the rowcount.
</para>