pg_language
The pg_language system catalog stores information about the procedural languages available in the database. It mimics the pg_language PostgreSQL system catalog.
Columns
The following columns are available for querying in pg_language:
| Column | Type | Description |
|---|---|---|
|
|
Object identifier for the language |
|
|
Language name (for example, |
|
|
OID of the role that owns the language |
|
|
Whether this is a procedural language ( |
|
|
Whether this is a trusted language |
|
|
OID of the call handler function for procedural languages |
|
|
OID of the inline handler function |
|
|
OID of the validator function |
|
|
Access privileges |
Examples
SELECT lanname, lanispl, lanpltrusted FROM pg_language;
lanname | lanispl | lanpltrusted
-----------+---------+--------------
internal | f | f
c | f | f
sql | f | t
plpgsql | t | t