summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2012-04-23 21:59:17 -0400
committerRobert Haas <rhaas@postgresql.org>2012-04-23 21:59:17 -0400
commit9d435d57e1f8ec7e51d40722854252875d8cc6eb (patch)
tree2ff1742b46a520c554131443e3cbe4d742dba5e1
parent48658a1b818060fcfb3c91704943c5fbcf10088e (diff)
downloadpostgresql-9d435d57e1f8ec7e51d40722854252875d8cc6eb.tar.gz
Minor improvements for CHECK NO INHERIT documentation.
Fix typo spotted by Thom Brown, and improve wording in another area where Thom spotted a typo.
-rw-r--r--doc/src/sgml/ref/alter_table.sgml5
-rw-r--r--doc/src/sgml/ref/create_table.sgml2
2 files changed, 3 insertions, 4 deletions
diff --git a/doc/src/sgml/ref/alter_table.sgml b/doc/src/sgml/ref/alter_table.sgml
index 3af65accea..a39cb8fc0f 100644
--- a/doc/src/sgml/ref/alter_table.sgml
+++ b/doc/src/sgml/ref/alter_table.sgml
@@ -906,9 +906,8 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable>
The <literal>TRIGGER</>, <literal>CLUSTER</>, <literal>OWNER</>,
and <literal>TABLESPACE</> actions never recurse to descendant tables;
that is, they always act as though <literal>ONLY</> were specified.
- Adding a constraint can recurse only for <literal>CHECK</> constraints,
- and is required to do so for such constraints, except those that are
- explicitely marked <literal>NO INHERIT</>.
+ Adding a constraint recurses only for <literal>CHECK</> constraints
+ that are not marked <literal>NO INHERIT</>.
</para>
<para>
diff --git a/doc/src/sgml/ref/create_table.sgml b/doc/src/sgml/ref/create_table.sgml
index 4da6eea758..a52bfad2f3 100644
--- a/doc/src/sgml/ref/create_table.sgml
+++ b/doc/src/sgml/ref/create_table.sgml
@@ -438,7 +438,7 @@ CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } | UNLOGGED ] TABLE [ IF NOT EXI
<para>
A constraint marked with <literal>NO INHERIT</> will not propagate to
- children tables.
+ child tables.
</para>
</listitem>
</varlistentry>