Skip to content
Snippets Groups Projects
Commit 35c3dabc authored by Tom Lane's avatar Tom Lane
Browse files

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
parent 457e9e88
No related branches found
No related tags found
No related merge requests found
......@@ -1175,7 +1175,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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment