select open change scope Open full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

SYSTEM CATALOGS / SYSTEM VIEWS

The view pg_settings provides access to run-time parameters of the server.

Kind
System views
Columns in this snapshot
17
Definition source
English manual

Columns 17

ColumnTypeDescription / reference
nametextRun-time configuration parameter name
settingtextCurrent value of the parameter
unittextImplicit unit of the parameter
categorytextLogical group of the parameter
short_desctextA brief description of the parameter
extra_desctextAdditional, more detailed, description of the parameter
contexttextContext required to set the parameter's value (see below)
vartypetextParameter type (bool, enum, integer, real, or string)
sourcetextSource of the current parameter value
min_valtextMinimum allowed value of the parameter (null for non-numeric values)
max_valtextMaximum allowed value of the parameter (null for non-numeric values)
enumvalstext[]Allowed values of an enum parameter (null for non-enum values)
boot_valtextParameter value assumed at server startup if the parameter is not otherwise set
reset_valtextValue that RESET would reset the parameter to in the current session
sourcefiletextConfiguration file the current value was set in (null for values set from sources other than configuration files, or when examined by a user who neither is a superuser nor has privileges of pg_read_all_settings); helpful when using include directives in configuration files
sourcelineint4Line number within the configuration file the current value was set at (null for values set from sources other than configuration files, or when examined by a user who neither is a superuser nor has privileges of pg_read_all_settings).
pending_restartbooltrue if the value has been changed in the configuration file but needs a restart; or false otherwise.
Column history across versions
Version history 4
  1. PG 14 → 15changed
  2. PG 9.6 → 10changed
  3. PG 9.4 → 9.5changed
  4. PG 9.0 → 9.1changed

Definition snapshot: english-manuals:3a060e9f1e9c40bd765fb66ca08… · English manual source