Postgresql 中文操作指南

54.5. pg_config #

视图 pg_config 描述当前已安装的 PostgreSQL 版本的编译时配置参数。例如,它的目的是被希望与 PostgreSQL 交互的软件包使用,以便于查找所需的标头文件和库。它提供了与 pg_config PostgreSQL 客户端应用程序相同的基本信息。

The view pg_config describes the compile-time configuration parameters of the currently installed version of PostgreSQL. It is intended, for example, to be used by software packages that want to interface to PostgreSQL to facilitate finding the required header files and libraries. It provides the same basic information as the pg_config PostgreSQL client application.

默认情况下,只有超级用户才能读取 pg_config 视图。

By default, the pg_config view can be read only by superusers.

Table 54.5. pg_config Columns

Table 54.5. pg_config Columns

Column Type

Description

name text

The parameter name

setting text

The parameter value