From: Tom Lane Date: Tue, 25 Nov 2008 20:47:55 +0000 (+0000) Subject: information_schema.key_column_usage.position_in_unique_constraint was X-Git-Tag: REL8_2_12~23 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=66156f24321d15eb5d1a7a24505493214dd7f90f;p=thirdparty%2Fpostgresql.git information_schema.key_column_usage.position_in_unique_constraint was misdocumented as not being implemented. In reality it has worked since the release of 8.2. --- diff --git a/doc/src/sgml/information_schema.sgml b/doc/src/sgml/information_schema.sgml index 35b17e5466b..52bae2e1ded 100644 --- a/doc/src/sgml/information_schema.sgml +++ b/doc/src/sgml/information_schema.sgml @@ -1,4 +1,4 @@ - + The Information Schema @@ -2191,7 +2191,7 @@ ORDER BY c.ordinal_position; sql_identifier Name of the database that contains the table that contains the - column that is restricted by some constraint (always the + column that is restricted by this constraint (always the current database) @@ -2201,7 +2201,7 @@ ORDER BY c.ordinal_position; sql_identifier Name of the schema that contains the table that contains the - column that is restricted by some constraint + column that is restricted by this constraint @@ -2210,7 +2210,7 @@ ORDER BY c.ordinal_position; sql_identifier Name of the table that contains the column that is restricted - by some constraint + by this constraint @@ -2218,7 +2218,7 @@ ORDER BY c.ordinal_position; column_name sql_identifier - Name of the column that is restricted by some constraint + Name of the column that is restricted by this constraint @@ -2235,7 +2235,9 @@ ORDER BY c.ordinal_position; position_in_unique_constraint cardinal_number - Not yet implemented + For a foreign-key constraint, ordinal position of the referenced + column within its unique constraint (count starts at 1); + otherwise null