---
title: pg_settings
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_settings
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_settings.adoc
page-edit-url: https://github.com/redpanda-data/cloud-docs/edit/main/modules/reference/pages/sql/system-catalogs/catalogs/pg_settings.adoc
description: The pg_settings displays the configuration settings for the current session.
page-topic-type: reference
page-git-created-date: "2026-05-26"
page-git-modified-date: "2026-05-26"
page-generated-content: none
---

# pg_settings

> 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_settings.md -->

The `pg_settings` displays the configuration settings for the current session. It mimics the [pg_settings](https://www.postgresql.org/docs/current/catalog-pg-db-role-setting.html) PostgreSQL system catalog.

## Columns

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

| Column | Type | Description |
| --- | --- | --- |
| `name` | `text` | This column represents the run-time configuration parameter name |
| `setting` | `text` | This column represents the current value of the parameter |
| `unit` | `text` | _Unused_. |
| `category` | `text` | _Unused_. |
| `short_desc` | `text` | _Unused_. |
| `extra_desc` | `text` | _Unused_. |
| `context` | `text` | _Unused_. |
| `vartype` | `text` | _Unused_. |
| `source` | `text` | _Unused_. |
| `min_val` | `text` | _Unused_. |
| `max_val` | `text` | _Unused_. |
| `enumvals` | `text` | _Unused_. |
| `boot_val` | `text` | _Unused_. |
| `reset_val` | `text` | _Unused_. |
| `sourcefile` | `text` | _Unused_. |
| `sourceline` | `int` | _Unused_. |
| `pending_restart` | `bool` | _Unused_. |

## Examples

To retrieve information from the pg_settings catalog, you can execute a query like:

```sql
SELECT name, setting FROM pg_settings;
```

You get the following run-time configuration values.

```sql
     name      | setting
----------------+---------
 max_index_keys | 32
```