The example for creating a check constraint is missing a comma

From: PG Doc comments form <noreply(at)postgresql(dot)org>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Cc: neil(at)postgrescompare(dot)com
Subject: The example for creating a check constraint is missing a comma
Date: 2018-02-15 17:43:18
Message-ID: 151871659877.1393.2431103178451978795@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

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 (
did integer,
name varchar(40)
CONSTRAINT con1 CHECK (did > 100 AND name <> '')
);

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Tom Lane 2018-02-15 18:47:39 Re: The example for creating a check constraint is missing a comma
Previous Message Bart Lengkeek 2018-02-15 09:01:30 error fields