PG_SYNONYM v16

The PG_SYNONYM view defines system synonym relations (pg_synonym) along with the relation's initial contents, if any. PostgreSQL doesn't provide a system catalog for PG_SYNONYM.

NameTypeDescription
oidoid
synlinktextName of the database link or an empty string
synnamenameName of the synonym
synnamespaceoidNamespace where the synonym resides
synobjnametextName of the base object referenced by the synonym
synobjschematextName of the schema where the base object resides
synowneroidObject identifier of the owner (creator) of the synonym