Minor improvements for CHECK NO INHERIT documentation.
authorRobert Haas <rhaas@postgresql.org>
Tue, 24 Apr 2012 01:59:17 +0000 (21:59 -0400)
committerRobert Haas <rhaas@postgresql.org>
Tue, 24 Apr 2012 01:59:17 +0000 (21:59 -0400)
Fix typo spotted by Thom Brown, and improve wording in another area
where Thom spotted a typo.

doc/src/sgml/ref/alter_table.sgml
doc/src/sgml/ref/create_table.sgml

index 3af65accea8b8f6c6f88ac1de41cdbeac01475ca..a39cb8fc0f409e1a5ba39edc223e615af6ed6437 100644 (file)
@@ -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>
index 4da6eea7589eb58ef27e928920e41ed8989beaa3..a52bfad2f3d119ce92e13907dff50080e387b2b0 100644 (file)
@@ -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>