diff options
author | Bruce Momjian <bruce@momjian.us> | 2011-02-19 18:21:03 -0500 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2011-02-19 18:21:36 -0500 |
commit | e07ae21f7ec2260c17136a7afaa4dbca405d9c24 (patch) | |
tree | afa8e2ae025fcc951f2573715b2d3743d9677091 | |
parent | b05186f8a403c7dcd1bd974948273f8c00edb127 (diff) | |
download | postgresql-e07ae21f7ec2260c17136a7afaa4dbca405d9c24.tar.gz postgresql-e07ae21f7ec2260c17136a7afaa4dbca405d9c24.zip |
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.
-rw-r--r-- | doc/src/sgml/information_schema.sgml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/src/sgml/information_schema.sgml b/doc/src/sgml/information_schema.sgml index 52407a741fe..91c2dd4d525 100644 --- a/doc/src/sgml/information_schema.sgml +++ b/doc/src/sgml/information_schema.sgml @@ -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"> |