mirror of
https://github.com/postgres/postgres.git
synced 2026-04-15 22:10:45 -04:00
Document that an SQL-standard-compliant query that expects a unique row
from information_schema.referential_constraints might return several in Postgres because we allow duplicate-named constraints in the same schema.
This commit is contained in:
parent
b05186f8a4
commit
e07ae21f7e
1 changed files with 13 additions and 0 deletions
|
|
@ -3211,6 +3211,19 @@ ORDER BY c.ordinal_position;
|
|||
</tbody>
|
||||
</tgroup>
|
||||
</table>
|
||||
|
||||
<note>
|
||||
<para>
|
||||
The SQL standard requires constraint names to be unique within a
|
||||
schema; <productname>PostgreSQL</productname>, however, does not
|
||||
enforce this restriction. If duplicate-named constraints are
|
||||
stored in the same <productname>PostgreSQL</productname> schema, a
|
||||
standard-compliant query that expects to return one row might
|
||||
return several, one for each matching constraint stored in the
|
||||
specified schema.
|
||||
</para>
|
||||
</note>
|
||||
|
||||
</sect1>
|
||||
|
||||
<sect1 id="infoschema-role-column-grants">
|
||||
|
|
|
|||
Loading…
Reference in a new issue