Updated on 2024-05-07 GMT+08:00

MY_SYNONYMS

MY_SYNONYMS displays synonyms in the current schema. This view can be accessed by all users. Only the information about the current user can be viewed. This view exists in both PG_CATALOG and SYS schema.

Table 1 MY_SYNONYMS columns

Name

Type

Description

schema_name

text

Name of the schema to which the synonym belongs.

synonym_name

text

Synonym name.

table_owner

text

Owner of the associated object. Although the column is called table_owner, its associated object is not necessarily a table. It can be any common database object, such as a view, stored procedure, or synonym.

table_name

text

Name of the associated object. Although the column is called table_name, its associated object is not necessarily a table. It can be any common database object, such as a view, stored procedure, or synonym.

table_schema_name

text

Schema name of the associated object. Although the column is called table_schema_name, its associated object is not necessarily a table. It can be any common database object, such as a view, stored procedure, or synonym.

db_link

character varying(128)

Reserved column. Its value is NULL.

origin_con_id

character varying(256)

Not supported. Its value is 0.