All Products
Search
Document Center

PolarDB:pg_config

Last Updated:Mar 28, 2026

The pg_config view exposes the compile-time configuration parameters of the currently installed database version. It is primarily used by software packages that need to interface with the database to locate the required header files and libraries. The view returns the same information as the pg_config client application.

Note

By default, only privileged accounts can read the pg_config view.

Columns

ColumnTypeDescription
nametextThe name of the parameter
settingtextThe value of the parameter

Query the view

Run the following statement to retrieve all compile-time parameters:

SELECT * FROM pg_config;