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

MY_SOURCE

MY_SOURCE displays the definition information about stored procedures, functions, triggers, and packages accessible to the current user. This view exists in both PG_CATALOG and SYS schema.

Table 1 MY_SOURCE columns

Name

Type

Description

owner

name

Object owner.

name

name

Object name.

type

name

Object types: function, package, package body, procedure, and trigger.

line

numeric

Number of the source line.

text

text

Text source of the storage object.

origin_con_id

character varying(256)

Not supported. Its value is 0.