1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
5 >constraint_table_usage</TITLE
8 CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
10 HREF="mailto:pgsql-docs@postgresql.org"><LINK
12 TITLE="PostgreSQL 7.4.1 Documentation"
13 HREF="index.html"><LINK
15 TITLE="The Information Schema"
16 HREF="information-schema.html"><LINK
18 TITLE="constraint_column_usage"
19 HREF="infoschema-constraint-column-usage.html"><LINK
21 TITLE="data_type_privileges"
22 HREF="infoschema-data-type-privileges.html"><LINK
25 HREF="stylesheet.css"><META
27 CONTENT="2003-12-22T03:48:47"></HEAD
33 SUMMARY="Header navigation table"
43 >PostgreSQL 7.4.1 Documentation</TH
51 HREF="infoschema-constraint-column-usage.html"
60 HREF="information-schema.html"
67 >Chapter 32. The Information Schema</TD
73 HREF="information-schema.html"
81 HREF="infoschema-data-type-privileges.html"
95 NAME="INFOSCHEMA-CONSTRAINT-TABLE-USAGE"
98 >constraint_table_usage</TT
104 >constraint_table_usage</TT
106 tables in the current database that are used by some constraint and
107 are owned by the current user. (This is different from the view
110 >table_constraints</TT
111 >, which identifies all table
112 constraints along with the table they are defined on.) For a
113 foreign key constraint, this view identifies the table that the
114 foreign key references. For a unique or primary key constraint,
115 this view simply identifies the table the constraint belongs to.
116 Check constraints and not-null constraints are not included in this
128 >constraint_table_usage</TT
134 ><COL><COL><COL><THEAD
157 > Name of the database that contains the table that is used by
158 some constraint (always the current database)
173 > Name of the schema that contains the table that is used by some
189 >Name of the table that is used by some constraint</TD
195 >constraint_catalog</TT
203 >Name of the database that contains the constraint (always the current database)</TD
209 >constraint_schema</TT
217 >Name of the schema that contains the constraint</TD
231 >Name of the constraint</TD
242 SUMMARY="Footer navigation table"
253 HREF="infoschema-constraint-column-usage.html"
271 HREF="infoschema-data-type-privileges.html"
283 >constraint_column_usage</TT
290 HREF="information-schema.html"
300 >data_type_privileges</TT