8000 Doc: fix minor bug in CREATE TABLE example. · postgres/postgres@f68b52c · GitHub
[go: up one dir, main page]

Skip to content

Commit f68b52c

Browse files
committed
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
1 parent 0a2381d commit f68b52c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/src/sgml/ref/create_table.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1227,7 +1227,7 @@ CREATE TABLE distributors (
12271227
<programlisting>
12281228
CREATE TABLE distributors (
12291229
did integer,
1230-
name varchar(40)
1230+
name varchar(40),
12311231
CONSTRAINT con1 CHECK (did &gt; 100 AND name &lt;&gt; '')
12321232
);
12331233
</programlisting>

0 commit comments

Comments
 (0)
0