diff options
Diffstat (limited to 'doc/src/sgml/ddl.sgml')
| -rw-r--r-- | doc/src/sgml/ddl.sgml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/src/sgml/ddl.sgml b/doc/src/sgml/ddl.sgml index 2342f8703c..f7e6671e60 100644 --- a/doc/src/sgml/ddl.sgml +++ b/doc/src/sgml/ddl.sgml @@ -1,4 +1,4 @@ -<!-- $PostgreSQL: pgsql/doc/src/sgml/ddl.sgml,v 1.52 2006/02/04 23:03:19 tgl Exp $ --> +<!-- $PostgreSQL: pgsql/doc/src/sgml/ddl.sgml,v 1.53 2006/02/11 22:17:18 momjian Exp $ --> <chapter id="ddl"> <title>Data Definition</title> @@ -543,6 +543,10 @@ CREATE TABLE products ( price numeric ); </programlisting> + Since <productname>PostgreSQL</productname> implements a UNIQUE constraint by + means of an index, the above command will also create an index with the same + name as the constraint. If you later on change the name of one of those, the + name of the corresponding object will be changed automatically as well. </para> <indexterm> |
