Updated on 2023-10-23 GMT+08:00

MY_CONS_COLUMNS

MY_CONS_COLUMNS displays information about primary key constraint columns in tables accessible to the current user. This view exists in the PG_CATALOG and SYS schemas.

Table 1 MY_CONS_COLUMNS columns

Name

Type

Description

owner

character varying(64)

Constraint creator

table_name

character varying(64)

Name of a constraint-related table

column_name

character varying(64)

Name of a constraint-related column

constraint_name

character varying(64)

Constraint name

position

smallint

Position of the column in the table