52.7. pg_file_settings
#
The viewpg_file_settings
provides a summary of the contents of the server's configuration file(s). A row appears in this view for each“name = value” entry appearing in the files, with annotations indicating whether the value could be applied successfully. Additional row(s) may appear for problems not linked to a“name = value” entry, such as syntax errors in the files.
This view is helpful for checking whether planned changes in the configuration files will work, or for diagnosing a previous failure. Note that this view reports on thecurrent contents of the files, not on what was last applied by the server. (Thepg_settings
view is usually sufficient to determine that.)
By default, thepg_file_settings
view can be read only by superusers.
Table 52.7. pg_file_settings
Columns
Column Type Description |
---|
Full path name of the configuration file |
Line number within the configuration file where the entry appears |
Order in which the entries are processed (1.. |
Configuration parameter name |
Value to be assigned to the parameter |
True if the value can be applied successfully |
If not null, an error message indicating why this entry could not be applied |
If the configuration file contains syntax errors or invalid parameter names, the server will not attempt to apply any settings from it, and therefore all theapplied
fields will read as false. In such a case there will be one or more rows with non-nullerror
fields indicating the problem(s). Otherwise, individual settings will be applied if possible. If an individual setting cannot be applied (e.g., invalid value, or the setting cannot be changed after server start) it will have an appropriate message in theerror
field. Another way that an entry might haveapplied
= false is that it is overridden by a later entry for the same parameter name; this case is not considered an error so nothing appears in theerror
field.
SeeSection 18.1 for more information about the various ways to change run-time parameters.