summaryrefslogtreecommitdiff
path: root/doc/src/sgml/ref/create_domain.sgml
diff options
context:
space:
mode:
authorPeter Eisentraut2014-02-24 02:25:35 +0000
committerPeter Eisentraut2014-02-24 02:31:08 +0000
commitbb4eefe7bf518e42c73797ea37b033a5d8a8e70a (patch)
treeae6df0b5d00f91bb4c7921673f79dca66642f850 /doc/src/sgml/ref/create_domain.sgml
parent769065c1b2471f484bb48bb58a8bdcf1d12a419c (diff)
doc: Improve DocBook XML validity
DocBook XML is superficially compatible with DocBook SGML but has a slightly stricter DTD that we have been violating in a few cases. Although XSLT doesn't care whether the document is valid, the style sheets don't necessarily process invalid documents correctly, so we need to work toward fixing this. This first commit moves the indexterms in refentry elements to an allowed position. It has no impact on the output.
Diffstat (limited to 'doc/src/sgml/ref/create_domain.sgml')
-rw-r--r--doc/src/sgml/ref/create_domain.sgml8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/src/sgml/ref/create_domain.sgml b/doc/src/sgml/ref/create_domain.sgml
index 49db069f895..dd782e48dce 100644
--- a/doc/src/sgml/ref/create_domain.sgml
+++ b/doc/src/sgml/ref/create_domain.sgml
@@ -4,6 +4,10 @@ PostgreSQL documentation
-->
<refentry id="SQL-CREATEDOMAIN">
+ <indexterm zone="sql-createdomain">
+ <primary>CREATE DOMAIN</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>CREATE DOMAIN</refentrytitle>
<manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
<refpurpose>define a new domain</refpurpose>
</refnamediv>
- <indexterm zone="sql-createdomain">
- <primary>CREATE DOMAIN</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
CREATE DOMAIN <replaceable class="parameter">name</replaceable> [ AS ] <replaceable class="parameter">data_type</replaceable>