Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9d435d5

Browse files
committed
Minor improvements for CHECK NO INHERIT documentation.
Fix typo spotted by Thom Brown, and improve wording in another area where Thom spotted a typo.
1 parent 48658a1 commit 9d435d5

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

doc/src/sgml/ref/alter_table.sgml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -906,9 +906,8 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable>
906906
The <literal>TRIGGER</>, <literal>CLUSTER</>, <literal>OWNER</>,
907907
and <literal>TABLESPACE</> actions never recurse to descendant tables;
908908
that is, they always act as though <literal>ONLY</> were specified.
909-
Adding a constraint can recurse only for <literal>CHECK</> constraints,
910-
and is required to do so for such constraints, except those that are
911-
explicitely marked <literal>NO INHERIT</>.
909+
Adding a constraint recurses only for <literal>CHECK</> constraints
910+
that are not marked <literal>NO INHERIT</>.
912911
</para>
913912

914913
<para>

doc/src/sgml/ref/create_table.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } | UNLOGGED ] TABLE [ IF NOT EXI
438438

439439
<para>
440440
A constraint marked with <literal>NO INHERIT</> will not propagate to
441-
children tables.
441+
child tables.
442442
</para>
443443
</listitem>
444444
</varlistentry>

0 commit comments

Comments
 (0)