Reword information_schema duplicate constraint warning text.

This commit is contained in:
Bruce Momjian 2011-02-22 09:06:18 -05:00
parent 2e852e541c
commit edb382179d

View file

@ -23,13 +23,14 @@
<note> <note>
<para> <para>
The SQL standard requires constraint names to be unique within a When querying the database for constraint information, it is possible
schema; <productname>PostgreSQL</productname>, however, does not for a standard-compliant query that expects to return one row to
enforce this restriction. If duplicate-named constraints are return several. This is because the SQL standard requires constraint
stored in the same <productname>PostgreSQL</productname> schema, names to be unique within a schema, but
a standard-compliant query that expects to return one matching <productname>PostgreSQL</productname> does not enforce this
constraint row might return several, one row for each matching restriction. <productname>PostgreSQL</productname>
constraint stored in the specified schema. automatically-generated constraint names avoid duplicates in the
same schema, but users can specify such duplicate names.
</para> </para>
</note> </note>