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

Commite07ae21

Browse files
committed
Document that an SQL-standard-compliant query that expects a unique row
from information_schema.referential_constraints might return several inPostgres because we allow duplicate-named constraints in the sameschema.
1 parentb05186f commite07ae21

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

‎doc/src/sgml/information_schema.sgml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3211,6 +3211,19 @@ ORDER BY c.ordinal_position;
32113211
</tbody>
32123212
</tgroup>
32133213
</table>
3214+
3215+
<note>
3216+
<para>
3217+
The SQL standard requires constraint names to be unique within a
3218+
schema; <productname>PostgreSQL</productname>, however, does not
3219+
enforce this restriction. If duplicate-named constraints are
3220+
stored in the same <productname>PostgreSQL</productname> schema, a
3221+
standard-compliant query that expects to return one row might
3222+
return several, one for each matching constraint stored in the
3223+
specified schema.
3224+
</para>
3225+
</note>
3226+
32143227
</sect1>
32153228

32163229
<sect1 id="infoschema-role-column-grants">

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp