From 5e45211a64149b3c659b90ff2de6fa982a5a93ed Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 14:17:33 +0200 Subject: Adding upstream version 15.5. Signed-off-by: Daniel Baumann --- .../html/infoschema-constraint-column-usage.html | 55 ++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 doc/src/sgml/html/infoschema-constraint-column-usage.html (limited to 'doc/src/sgml/html/infoschema-constraint-column-usage.html') diff --git a/doc/src/sgml/html/infoschema-constraint-column-usage.html b/doc/src/sgml/html/infoschema-constraint-column-usage.html new file mode 100644 index 0000000..c19d338 --- /dev/null +++ b/doc/src/sgml/html/infoschema-constraint-column-usage.html @@ -0,0 +1,55 @@ + +37.18. constraint_column_usage

37.18. constraint_column_usage

+ The view constraint_column_usage identifies all + columns in the current database that are used by some constraint. + Only those columns are shown that are contained in a table owned by + a currently enabled role. For a check constraint, this view + identifies the columns that are used in the check expression. For + a foreign key constraint, this view identifies the columns that the + foreign key references. For a unique or primary key constraint, + this view identifies the constrained columns. +

Table 37.16. constraint_column_usage Columns

+ Column Type +

+

+ Description +

+ table_catalog sql_identifier +

+

+ Name of the database that contains the table that contains the + column that is used by some constraint (always the current + database) +

+ table_schema sql_identifier +

+

+ Name of the schema that contains the table that contains the + column that is used by some constraint +

+ table_name sql_identifier +

+

+ Name of the table that contains the column that is used by some + constraint +

+ column_name sql_identifier +

+

+ Name of the column that is used by some constraint +

+ constraint_catalog sql_identifier +

+

+ Name of the database that contains the constraint (always the current database) +

+ constraint_schema sql_identifier +

+

+ Name of the schema that contains the constraint +

+ constraint_name sql_identifier +

+

+ Name of the constraint +


\ No newline at end of file -- cgit v1.2.3