# pg_language

> For the complete documentation index, see [llms.txt](https://docs.redpanda.com/llms.txt). Component-specific: [cloud-data-platform-full.txt](https://docs.redpanda.com/cloud-data-platform-full.txt)

---
title: pg_language
latest-operator-version: v26.1.4
latest-console-tag: v3.7.3
latest-connect-version: 4.93.0
latest-redpanda-tag: v26.1.9
docname: sql/system-catalogs/catalogs/pg_language
page-component-name: cloud-data-platform
page-version: master
page-component-version: master
page-component-title: Cloud
page-relative-src-path: sql/system-catalogs/catalogs/pg_language.adoc
page-edit-url: https://github.com/redpanda-data/cloud-docs/edit/main/modules/reference/pages/sql/system-catalogs/catalogs/pg_language.adoc
description: The pg_language system catalog stores information about the procedural languages available in the database.
page-topic-type: reference
page-git-created-date: "2026-05-26"
page-git-modified-date: "2026-05-26"
---

<!-- Source: https://docs.redpanda.com/cloud-data-platform/reference/sql/system-catalogs/catalogs/pg_language.md -->

The `pg_language` system catalog stores information about the procedural languages available in the database. It mimics the [pg\_language](https://www.postgresql.org/docs/current/catalog-pg-language.html) PostgreSQL system catalog.

## [](#columns)Columns

The following columns are available for querying in `pg_language`:

| Column | Type | Description |
| --- | --- | --- |
| oid | int | Object identifier for the language |
| lanname | text | Language name (for example, internal, c, sql, plpgsql) |
| lanowner | int | OID of the role that owns the language |
| lanispl | bool | Whether this is a procedural language (true for plpgsql, false for internal, c, sql) |
| lanpltrusted | bool | Whether this is a trusted language |
| lanplcallfoid | int | OID of the call handler function for procedural languages |
| laninline | int | OID of the inline handler function |
| lanvalidator | int | OID of the validator function |
| lanacl | text | Access privileges |

## [](#examples)Examples

```sql
SELECT lanname, lanispl, lanpltrusted FROM pg_language;
```

```sql
  lanname  | lanispl | lanpltrusted
-----------+---------+--------------
 internal  | f       | f
 c         | f       | f
 sql       | f       | t
 plpgsql   | t       | t
```