Movatterモバイル変換


[0]ホーム

URL:



Facebook
Postgres Pro
Facebook
Downloads
52.7. pg_file_settings
Prev UpChapter 52. System ViewsHome Next

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 eachname = 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 aname = 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

sourcefiletext

Full path name of the configuration file

sourcelineint4

Line number within the configuration file where the entry appears

seqnoint4

Order in which the entries are processed (1..n)

nametext

Configuration parameter name

settingtext

Value to be assigned to the parameter

appliedbool

True if the value can be applied successfully

errortext

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.


Prev Up Next
52.6. pg_cursors Home 52.8. pg_group
pdfepub
Go to Postgres Pro Standard 17
By continuing to browse this website, you agree to the use of cookies. Go toPrivacy Policy.

[8]ページ先頭

©2009-2025 Movatter.jp