gooderp18绿色标准版
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

39 lines
6.2KB

  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <!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>51.70. 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 V1.79.1" /><link rel="prev" href="view-pg-cursors.html" title="51.69. pg_cursors" /><link rel="next" href="view-pg-group.html" title="51.71. 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">51.70. <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="51.69. pg_cursors">Prev</a> </td><td width="10%" align="left"><a accesskey="u" href="catalogs.html" title="Chapter 51. System Catalogs">Up</a></td><th width="60%" align="center">Chapter 51. System Catalogs</th><td width="10%" align="right"><a accesskey="h" href="index.html" title="PostgreSQL 12.4 Documentation">Home</a></td><td width="10%" align="right"> <a accesskey="n" href="view-pg-group.html" title="51.71. 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">51.70. <code class="structname">pg_file_settings</code></h2></div></div></div><a id="id-1.10.4.72.2" class="indexterm"></a><p>
  3. The view <code class="structname">pg_file_settings</code> provides a summary of
  4. the contents of the server's configuration file(s). A row appears in
  5. this view for each <span class="quote">“<span class="quote">name = value</span>”</span> entry appearing in the files,
  6. with annotations indicating whether the value could be applied
  7. successfully. Additional row(s) may appear for problems not linked to
  8. a <span class="quote">“<span class="quote">name = value</span>”</span> entry, such as syntax errors in the files.
  9. </p><p>
  10. This view is helpful for checking whether planned changes in the
  11. configuration files will work, or for diagnosing a previous failure.
  12. Note that this view reports on the <span class="emphasis"><em>current</em></span> contents of the
  13. files, not on what was last applied by the server. (The
  14. <a class="link" href="view-pg-settings.html" title="51.86. pg_settings"><code class="structname">pg_settings</code></a>
  15. view is usually sufficient to determine that.)
  16. </p><p>
  17. By default, the <code class="structname">pg_file_settings</code> view can be read
  18. only by superusers.
  19. </p><div class="table" id="id-1.10.4.72.6"><p class="title"><strong>Table 51.71. <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>
  20. Line number within the configuration file where the entry appears
  21. </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
  22. not be applied</td></tr></tbody></table></div></div><br class="table-break" /><p>
  23. If the configuration file contains syntax errors or invalid parameter
  24. names, the server will not attempt to apply any settings from it, and
  25. therefore all the <code class="structfield">applied</code> fields will read as false.
  26. In such a case there will be one or more rows with
  27. non-null <code class="structfield">error</code> fields indicating the
  28. problem(s). Otherwise, individual settings will be applied if possible.
  29. If an individual setting cannot be applied (e.g., invalid value, or the
  30. setting cannot be changed after server start) it will have an appropriate
  31. message in the <code class="structfield">error</code> field. Another way that
  32. an entry might have <code class="structfield">applied</code> = false is that it is
  33. overridden by a later entry for the same parameter name; this case is not
  34. considered an error so nothing appears in
  35. the <code class="structfield">error</code> field.
  36. </p><p>
  37. See <a class="xref" href="config-setting.html" title="19.1. Setting Parameters">Section 19.1</a> for more information about the various
  38. ways to change run-time parameters.
  39. </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">51.69. <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"> 51.71. <code class="structname">pg_group</code></td></tr></table></div></body></html>
上海开阖软件有限公司 沪ICP备12045867号-1