pg_language
The pg_language system catalog table registers languages in which you can write functions or stored procedures.
It is populated by CREATE LANGUAGE.
| Column | Type | References | Description |
|---|---|---|---|
lanname |
name |
— |
Name of the language |
lanowner |
oid |
pg_authid.oid |
Owner of the language |
lanispl |
boolean |
— |
This is |
lanpltrusted |
boolean |
— |
|
lanplcallfoid |
oid |
pg_proc.oid |
For noninternal languages this references the language handler, which is a special function that is responsible for running all functions that are written in the particular language |
laninline |
oid |
pg_proc.oid |
This references a function that is responsible for running inline anonymous code blocks (the |
lanvalidator |
oid |
pg_proc.oid |
This references a language validator function that is responsible for checking the syntax and validity of new functions when they are created.
|
lanacl |
aclitem[] |
— |
Access privileges for the language (see Roles and privileges) |