Help Center > > Developer Guide> System Catalogs and System Views> System Views> PG_SETTINGS

PG_SETTINGS

Updated at: Jul 15, 2020 GMT+08:00

PG_SETTINGS displays information about parameters of the running database.

Table 1 PG_SETTINGS columns

Name

Type

Description

name

text

Parameter name

setting

text

Current value of the parameter

unit

text

Implicit unit of the parameter

category

text

Logical group of the parameter

short_desc

text

Brief description of the parameter

extra_desc

text

Detailed description of the parameter

context

text

Context of parameter values including internal, backend, superuser, and user

vartype

text

Parameter type. It can be bool, enum, integer, real, or string.

source

text

Method of assigning the parameter value

min_val

text

Minimum value of the parameter. If the parameter type is not numeric data, the value of this column is null.

max_val

text

Maximum value of the parameter. If the parameter type is not numeric data, the value of this column is null.

enumvals

text[]

Valid values of an enum-typed parameter. If the parameter type is not enum, the value of this column is null.

boot_val

text

Default parameter value used upon the database startup

reset_val

text

Default parameter value used upon the database reset

sourcefile

text

Configuration file used to set parameter values. If parameter values are not configured using the configuration file, the value of this column is null.

sourceline

integer

Row number of the configuration file for setting parameter values. If parameter values are not configured using the configuration file, the value of this column is null.

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel