From fee7802770669398359c369aee83277dcc58edd1 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Mon, 21 Feb 2011 20:14:02 -0500 Subject: [PATCH] Move information_schema duplicate constraint note to the top of the information schema documentation because it affects several tables. --- doc/src/sgml/information_schema.sgml | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/doc/src/sgml/information_schema.sgml b/doc/src/sgml/information_schema.sgml index 91c2dd4d52..32e9083744 100644 --- a/doc/src/sgml/information_schema.sgml +++ b/doc/src/sgml/information_schema.sgml @@ -21,6 +21,19 @@ PostgreSQL-specific views. + + + The SQL standard requires constraint names to be unique within a + schema; PostgreSQL, however, does not + enforce this restriction. If duplicate-named constraints are + stored in the same PostgreSQL schema, + a standard-compliant query that expects to return one matching + constraint row might return several, one row for each matching + constraint stored in the specified schema. + + + + The Schema @@ -3212,18 +3225,6 @@ ORDER BY c.ordinal_position; - - - The SQL standard requires constraint names to be unique within a - schema; PostgreSQL, however, does not - enforce this restriction. If duplicate-named constraints are - stored in the same PostgreSQL schema, a - standard-compliant query that expects to return one row might - return several, one for each matching constraint stored in the - specified schema. - - -