|
1 | 1 | <!-- |
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 $ |
3 | 3 | PostgreSQL documentation |
4 | 4 | --> |
5 | 5 |
|
@@ -293,7 +293,10 @@ and <replaceable class="PARAMETER">table_constraint</replaceable> is: |
293 | 293 | <term><literal>CONSTRAINT <replaceable class="PARAMETER">constraint_name</replaceable></literal></term> |
294 | 294 | <listitem> |
295 | 295 | <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, |
297 | 300 | the system generates a name. |
298 | 301 | </para> |
299 | 302 | </listitem> |
|