Doc: fix minor bug in CREATE TABLE example.

One example in create_table.sgml claimed to be showing table constraint
syntax, but it was really column constraint syntax due to the omission
of a comma.  This is both wrong and confusing, so fix it in all
supported branches.

Per report from neil@postgrescompare.com.

Discussion: https://postgr.es/m/151871659877.1393.2431103178451978795@wrigleys.postgresql.org
This commit is contained in:
Tom Lane 2018-02-15 13:56:38 -05:00
parent 51940f9760
commit 439c7bc1a0
1 changed files with 1 additions and 1 deletions

View File

@ -1531,7 +1531,7 @@ CREATE TABLE distributors (
<programlisting>
CREATE TABLE distributors (
did integer,
name varchar(40)
name varchar(40),
CONSTRAINT con1 CHECK (did &gt; 100 AND name &lt;&gt; '')
);
</programlisting>