Sophie

Sophie

distrib > Mageia > 7 > x86_64 > by-pkgid > 9b6cc37ce608401d44f6535a0c7cb777 > files > 1048

postgresql11-docs-11.5-1.mga7.noarch.rpm

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>52.69. pg_file_settings</title><link rel="stylesheet" type="text/css" href="stylesheet.css" /><link rev="made" href="pgsql-docs@lists.postgresql.org" /><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot" /><link rel="prev" href="view-pg-cursors.html" title="52.68. pg_cursors" /><link rel="next" href="view-pg-group.html" title="52.70. pg_group" /></head><body><div xmlns="http://www.w3.org/TR/xhtml1/transitional" class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="5" align="center">52.69. <code xmlns="http://www.w3.org/1999/xhtml" class="structname">pg_file_settings</code></th></tr><tr><td width="10%" align="left"><a accesskey="p" href="view-pg-cursors.html" title="52.68. pg_cursors">Prev</a> </td><td width="10%" align="left"><a accesskey="u" href="catalogs.html" title="Chapter 52. System Catalogs">Up</a></td><th width="60%" align="center">Chapter 52. System Catalogs</th><td width="10%" align="right"><a accesskey="h" href="index.html" title="PostgreSQL 11.5 Documentation">Home</a></td><td width="10%" align="right"> <a accesskey="n" href="view-pg-group.html" title="52.70. pg_group">Next</a></td></tr></table><hr></hr></div><div class="sect1" id="VIEW-PG-FILE-SETTINGS"><div class="titlepage"><div><div><h2 class="title" style="clear: both">52.69. <code class="structname">pg_file_settings</code></h2></div></div></div><a id="id-1.10.4.71.2" class="indexterm"></a><p>
   The view <code class="structname">pg_file_settings</code> provides a summary of
   the contents of the server's configuration file(s).  A row appears in
   this view for each <span class="quote">“<span class="quote">name = value</span>”</span> 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 <span class="quote">“<span class="quote">name = value</span>”</span> entry, such as syntax errors in the files.
  </p><p>
   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 the <span class="emphasis"><em>current</em></span> contents of the
   files, not on what was last applied by the server.  (The
   <a class="link" href="view-pg-settings.html" title="52.85. pg_settings"><code class="structname">pg_settings</code></a>
   view is usually sufficient to determine that.)
  </p><p>
   By default, the <code class="structname">pg_file_settings</code> view can be read
   only by superusers.
  </p><div class="table" id="id-1.10.4.71.6"><p class="title"><strong>Table 52.70. <code class="structname">pg_file_settings</code> Columns</strong></p><div class="table-contents"><table class="table" summary="pg_file_settings Columns" border="1"><colgroup><col /><col /><col /></colgroup><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tbody><tr><td><code class="structfield">sourcefile</code></td><td><code class="structfield">text</code></td><td>Full path name of the configuration file</td></tr><tr><td><code class="structfield">sourceline</code></td><td><code class="structfield">integer</code></td><td>
      Line number within the configuration file where the entry appears
     </td></tr><tr><td><code class="structfield">seqno</code></td><td><code class="structfield">integer</code></td><td>Order in which the entries are processed (1..<em class="replaceable"><code>n</code></em>)</td></tr><tr><td><code class="structfield">name</code></td><td><code class="structfield">text</code></td><td>Configuration parameter name</td></tr><tr><td><code class="structfield">setting</code></td><td><code class="structfield">text</code></td><td>Value to be assigned to the parameter</td></tr><tr><td><code class="structfield">applied</code></td><td><code class="structfield">boolean</code></td><td>True if the value can be applied successfully</td></tr><tr><td><code class="structfield">error</code></td><td><code class="structfield">text</code></td><td>If not null, an error message indicating why this entry could
      not be applied</td></tr></tbody></table></div></div><br class="table-break" /><p>
   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 the <code class="structfield">applied</code> fields will read as false.
   In such a case there will be one or more rows with
   non-null <code class="structfield">error</code> 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 the <code class="structfield">error</code> field.  Another way that
   an entry might have <code class="structfield">applied</code> = 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
   the <code class="structfield">error</code> field.
  </p><p>
   See <a class="xref" href="config-setting.html" title="19.1. Setting Parameters">Section 19.1</a> for more information about the various
   ways to change run-time parameters.
  </p></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="view-pg-cursors.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="catalogs.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="view-pg-group.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">52.68. <code class="structname">pg_cursors</code> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> 52.70. <code class="structname">pg_group</code></td></tr></table></div></body></html>