---
title: pg_language
page-cloud: true
latest-operator-version: v26.2.6
latest-console-tag: v3.14.0
latest-connect-version: 4.118.0
latest-redpanda-tag: v26.2.7
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"
page-generated-content: none
---

# 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)

<!-- 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

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

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

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