pg_settings
The pg_settings displays the configuration settings for the current session. It mimics the pg_settings PostgreSQL system catalog.
Columns
The following columns are available for querying in pg_settings:
| Column | Type | Description |
|---|---|---|
|
|
This column represents the run-time configuration parameter name |
|
|
This column represents the current value of the parameter |
|
|
Unused. |
|
|
Unused. |
|
|
Unused. |
|
|
Unused. |
|
|
Unused. |
|
|
Unused. |
|
|
Unused. |
|
|
Unused. |
|
|
Unused. |
|
|
Unused. |
|
|
Unused. |
|
|
Unused. |
|
|
Unused. |
|
|
Unused. |
|
|
Unused. |
Examples
To retrieve information from the pg_settings catalog, you can execute a query like:
SELECT name, setting FROM pg_settings;
You get the following run-time configuration values.
name | setting
----------------+---------
max_index_keys | 32