doc: CREATE FOREIGN TABLE now allows CHECK ( ... ) NO INHERIT
authorRobert Haas <rhaas@postgresql.org>
Fri, 15 May 2015 18:38:27 +0000 (14:38 -0400)
committerRobert Haas <rhaas@postgresql.org>
Fri, 15 May 2015 18:42:15 +0000 (14:42 -0400)
Etsuro Fujita

doc/src/sgml/ref/create_foreign_table.sgml

index abadd83fc386cc969f70919c6a3b48e39f820ad3..413b033cb57fe0b149bc6768fad4e7810ae35f45 100644 (file)
@@ -32,13 +32,13 @@ CREATE FOREIGN TABLE [ IF NOT EXISTS ] <replaceable class="PARAMETER">table_name
 [ CONSTRAINT <replaceable class="PARAMETER">constraint_name</replaceable> ]
 { NOT NULL |
   NULL |
-  CHECK ( <replaceable class="PARAMETER">expression</replaceable> ) |
+  CHECK ( <replaceable class="PARAMETER">expression</replaceable> ) [ NO INHERIT ] |
   DEFAULT <replaceable>default_expr</replaceable> }
 
 <phrase>and <replaceable class="PARAMETER">table_constraint</replaceable> is:</phrase>
 
 [ CONSTRAINT <replaceable class="PARAMETER">constraint_name</replaceable> ]
-CHECK ( <replaceable class="PARAMETER">expression</replaceable> )
+CHECK ( <replaceable class="PARAMETER">expression</replaceable> ) [ NO INHERIT ]
 </synopsis>
  </refsynopsisdiv>