1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-25 01:02:05 +03:00

Add columns boot_val and reset_val to the pg_settings view, to expose

the value a parameter has at server start and will have after RESET,
respectively.

Greg Smith, with some modifications by me.
This commit is contained in:
Magnus Hagander
2008-10-06 13:05:40 +00:00
parent 89f373bf5b
commit 3bea93b3b0
5 changed files with 82 additions and 14 deletions

View File

@ -1,4 +1,4 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/catalogs.sgml,v 2.176 2008/09/23 09:20:33 heikki Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/catalogs.sgml,v 2.177 2008/10/06 13:05:36 mha Exp $ -->
<!--
Documentation of the system catalogs, directed toward PostgreSQL developers
-->
@ -6435,6 +6435,18 @@
<entry>Allowed values in enum parameters (NULL for non-enum
values)</entry>
</row>
<row>
<entry><structfield>boot_val</structfield></entry>
<entry><type>text</type></entry>
<entry>Parameter value assumed at server startup if the parameter is
not otherwise set</entry>
</row>
<row>
<entry><structfield>reset_val</structfield></entry>
<entry><type>text</type></entry>
<entry>Default run-time session value for the parameter that it will
revert to if <command>RESET</command></entry>
</row>
<row>
<entry><structfield>sourcefile</structfield></entry>
<entry><type>text</type></entry>