File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change 11<!--
2- $PostgreSQL: pgsql/doc/src/sgml/ref/create_table.sgml,v 1.80  2004/03/22 16:18:50 tgl  Exp $
2+ $PostgreSQL: pgsql/doc/src/sgml/ref/create_table.sgml,v 1.81  2004/05/19 23:10:43 momjian  Exp $
33PostgreSQL documentation
44-->
55
@@ -383,10 +383,13 @@ and <replaceable class="PARAMETER">table_constraint</replaceable> is:
383383     <para>
384384      The <literal>CHECK</> clause specifies an expression producing a
385385      Boolean result which new or updated rows must satisfy for an
386-       insert or update operation to succeed.  A check constraint
387-       specified as a column constraint should reference that column's
388-       value only, while an expression appearing in a table constraint
389-       may reference multiple columns.
386+       insert or update operation to succeed.  Expressions evaluating
387+       to TRUE or UNKNOWN succeed.  Should any row of an insert or
388+       update operation produce a FALSE result an error exception is
389+       raised and the insert or update does not alter the database.  A
390+       check constraint specified as a column constraint should
391+       reference that column's value only, while an expression
392+       appearing in a table constraint may reference multiple columns.
390393     </para>
391394
392395     <para>
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments