Skip to content

Commit edb3821

Browse files
committed
Reword information_schema duplicate constraint warning text.
1 parent 2e852e5 commit edb3821

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

doc/src/sgml/information_schema.sgml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,14 @@
2323

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

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy