Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitedb3821

Browse files
committed
Reword information_schema duplicate constraint warning text.
1 parent2e852e5 commitedb3821

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)

[8]ページ先頭

©2009-2025 Movatter.jp