Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2c72d70

Browse files
committed
Update wording about information schema and name which views potentially
can have duplicates, per request from Tom.
1 parent 5a922f1 commit 2c72d70

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

doc/src/sgml/information_schema.sgml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,16 @@
3232
automatically-generated constraint names avoid duplicates in the
3333
same schema, but users can specify such duplicate names.
3434
</para>
35+
36+
<para>
37+
This problem can appear when querying information schema views like
38+
<literal>referential_constraints</>, <literal>check_constraints</>,
39+
<literal>domain_constraints</>, and
40+
<literal>check_constraint_routine_usage</>. Some other views have
41+
similar issues but contain the table name to help distinguish
42+
duplicate rows, e.g. <literal>table_constraints</>,
43+
<literal>constraint_table_usage</>, <literal>constraint_column_usage</>.
44+
</para>
3545
</note>
3646

3747

0 commit comments

Comments
 (0)