aboutsummaryrefslogtreecommitdiff
path: root/doc/src/sgml/ref/create_statistics.sgml
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2017-10-08 21:44:17 -0400
committerPeter Eisentraut <peter_e@gmx.net>2017-10-17 15:10:33 -0400
commitc29c578908dc0271eeb13a4014e54bff07a29c05 (patch)
tree1aa03fb6f1864719f2f23d4b0b9d5e2865764082 /doc/src/sgml/ref/create_statistics.sgml
parent6ecabead4b5993c42745f2802d857b1a79f48bf9 (diff)
downloadpostgresql-c29c578908dc0271eeb13a4014e54bff07a29c05.tar.gz
postgresql-c29c578908dc0271eeb13a4014e54bff07a29c05.zip
Don't use SGML empty tags
For DocBook XML compatibility, don't use SGML empty tags (</>) anymore, replace by the full tag name. Add a warning option to catch future occurrences. Alexander Lakhin, Jürgen Purtz
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>