Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit439c7bc

Browse files
committed
Doc: fix minor bug in CREATE TABLE example.
One example in create_table.sgml claimed to be showing table constraintsyntax, but it was really column constraint syntax due to the omissionof a comma. This is both wrong and confusing, so fix it in allsupported branches.Per report from neil@postgrescompare.com.Discussion:https://postgr.es/m/151871659877.1393.2431103178451978795@wrigleys.postgresql.org
1 parent51940f9 commit439c7bc

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
@@ -1531,7 +1531,7 @@ CREATE TABLE distributors (
15311531
<programlisting>
15321532
CREATE TABLE distributors (
15331533
did integer,
1534-
name varchar(40)
1534+
name varchar(40),
15351535
CONSTRAINT con1 CHECK (did &gt; 100 AND name &lt;&gt; '')
15361536
);
15371537
</programlisting>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp