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

Commit9200318

Browse files
committed
Add documentaiotn mention that constraint names can be sentences that
can convey information to clients on constraint violation.
1 parentb06e6f1 commit9200318

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

‎doc/src/sgml/ref/create_table.sgml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/ref/create_table.sgml,v 1.96 2005/11/01 21:09:50 tgl Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/ref/create_table.sgml,v 1.97 2006/01/16 19:50:03 momjian Exp $
33
PostgreSQL documentation
44
-->
55

@@ -293,7 +293,10 @@ and <replaceable class="PARAMETER">table_constraint</replaceable> is:
293293
<term><literal>CONSTRAINT <replaceable class="PARAMETER">constraint_name</replaceable></literal></term>
294294
<listitem>
295295
<para>
296-
An optional name for a column or table constraint. If not specified,
296+
An optional name for a column or table constraint. If the
297+
constraint is violated, the constraint name is present in error messages,
298+
so constraint names like "col must be positive" can be used to communicate
299+
helpful constraint information to client applications. If not specified,
297300
the system generates a name.
298301
</para>
299302
</listitem>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp