mirror of
https://github.com/postgres/postgres.git
synced 2025-05-23 00:02:38 -04:00
Set the correct context (PGC_SIGHUP) for log_autovacuum, per ITAGAKI Takahiro.
Fix grammatical errors in its description.
This commit is contained in:
parent
40fda15dce
commit
b7adf47eda
@ -1,4 +1,4 @@
|
|||||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.142 2007/09/05 18:10:47 tgl Exp $ -->
|
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.143 2007/09/10 01:39:19 tgl Exp $ -->
|
||||||
|
|
||||||
<chapter Id="runtime-config">
|
<chapter Id="runtime-config">
|
||||||
<title>Server Configuration</title>
|
<title>Server Configuration</title>
|
||||||
@ -3406,10 +3406,10 @@ guess what
|
|||||||
</indexterm>
|
</indexterm>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Causes actions executed by autovacuum to be logged if it ran for at
|
Causes each action executed by autovacuum to be logged if it ran for at
|
||||||
least the specified number of milliseconds. Setting this to zero prints
|
least the specified number of milliseconds. Setting this to zero logs
|
||||||
all action durations. Minus-one (the default) disables logging
|
all autovacuum actions. Minus-one (the default) disables logging
|
||||||
autovacuum action durations. For example, if you set it to
|
autovacuum actions. For example, if you set this to
|
||||||
<literal>250ms</literal> then all vacuums and analyzes that run
|
<literal>250ms</literal> then all vacuums and analyzes that run
|
||||||
250ms or longer will be logged. Enabling this parameter can be helpful
|
250ms or longer will be logged. Enabling this parameter can be helpful
|
||||||
in tracking autovacuum activity. This setting can only be set in
|
in tracking autovacuum activity. This setting can only be set in
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
* Written by Peter Eisentraut <peter_e@gmx.net>.
|
* Written by Peter Eisentraut <peter_e@gmx.net>.
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.417 2007/09/10 00:57:21 tgl Exp $
|
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.418 2007/09/10 01:39:19 tgl Exp $
|
||||||
*
|
*
|
||||||
*--------------------------------------------------------------------
|
*--------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -1573,10 +1573,10 @@ static struct config_int ConfigureNamesInt[] =
|
|||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
{"log_autovacuum", PGC_BACKEND, LOGGING_WHAT,
|
{"log_autovacuum", PGC_SIGHUP, LOGGING_WHAT,
|
||||||
gettext_noop("Sets the minimum execution time above which autovacuum actions "
|
gettext_noop("Sets the minimum execution time above which autovacuum actions "
|
||||||
"will be logged."),
|
"will be logged."),
|
||||||
gettext_noop("Zero prints all actions. The default is -1 (turning this feature off)."),
|
gettext_noop("Zero prints all actions. The default is -1 (disabling autovacuum logging)."),
|
||||||
GUC_UNIT_MS
|
GUC_UNIT_MS
|
||||||
},
|
},
|
||||||
&Log_autovacuum,
|
&Log_autovacuum,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user