(2014/11/13 20:07), Heikki Linnakangas wrote: > On 11/13/2014 12:45 PM, Etsuro Fujita wrote: >> It seems to me there are typos in the reference page for CREATE TABLE. > > The structure of the sentence is a bit funky, but it seems correct to > me. If you google for "should any", you'll get a bunch of pages > discussing similar sentences. > > I would add a comma there, though: "Should any row of an insert or > update operation produce a FALSE result, an exception is raised and ..."
I understand. So, Here is the comma patch. Thanks, Best regards, Etsuro Fujita
diff --git a/doc/src/sgml/ref/create_table.sgml b/doc/src/sgml/ref/create_table.sgml index 299cce8..bc6db45 100644 --- a/doc/src/sgml/ref/create_table.sgml +++ b/doc/src/sgml/ref/create_table.sgml @@ -423,7 +423,7 @@ CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } | UNLOGGED ] TABLE [ IF NOT EXI Boolean result which new or updated rows must satisfy for an insert or update operation to succeed. Expressions evaluating to TRUE or UNKNOWN succeed. Should any row of an insert or - update operation produce a FALSE result an error exception is + update operation produce a FALSE result, an error exception is raised and the insert or update does not alter the database. A check constraint specified as a column constraint should reference that column's value only, while an expression
-- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers