Re: The example for creating a check constraint is missing a comma

2018-02-15 Thread Neil Anderson
On 2018-02-15 1:47 PM, Tom Lane wrote: =?utf-8?q?PG_Doc_comments_form?= writes: See the example from the documentation for CREATE TABLE below. There should be a comma before the CONSTRAINT keyword. CREATE TABLE distributors ( did integer, namevarchar(40) CONSTRAINT con

Re: The example for creating a check constraint is missing a comma

2018-02-15 Thread Tom Lane
=?utf-8?q?PG_Doc_comments_form?= writes: > See the example from the documentation for CREATE TABLE below. There should > be a comma before the CONSTRAINT keyword. > CREATE TABLE distributors ( > did integer, > namevarchar(40) > CONSTRAINT con1 CHECK (did > 100 AND name <> '')

The example for creating a check constraint is missing a comma

2018-02-15 Thread PG Doc comments form
The following documentation comment has been logged on the website: Page: https://www.postgresql.org/docs/10/static/sql-createtable.html Description: See the example from the documentation for CREATE TABLE below. There should be a comma before the CONSTRAINT keyword. CREATE TABLE distributors (