Reword information_schema duplicate constraint warning text.
authorBruce Momjian
Tue, 22 Feb 2011 14:06:18 +0000 (09:06 -0500)
committerBruce Momjian
Tue, 22 Feb 2011 14:06:56 +0000 (09:06 -0500)
doc/src/sgml/information_schema.sgml

index 32e9083744351c8e386900acc736c009918d7aa6..21e4f98913a5cd47408af82f1fb44b8e1a4c4de4 100644 (file)
 
  
   
-   The SQL standard requires constraint names to be unique within a
-   schema;  PostgreSQL, however, does not
-   enforce this restriction.  If duplicate-named constraints are
-   stored in the same PostgreSQL schema,
-   a standard-compliant query that expects to return one matching
-   constraint row might return several, one row for each matching
-   constraint stored in the specified schema. 
+   When querying the database for constraint information, it is possible
+   for a standard-compliant query that expects to return one row to
+   return several.  This is because the SQL standard requires constraint
+   names to be unique within a schema, but
+   PostgreSQL does not enforce this
+   restriction.  PostgreSQL
+   automatically-generated constraint names avoid duplicates in the
+   same schema, but users can specify such duplicate names.