Set the correct context (PGC_SIGHUP) for log_autovacuum, per ITAGAKI Takahiro.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 10 Sep 2007 01:39:19 +0000 (01:39 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 10 Sep 2007 01:39:19 +0000 (01:39 +0000)
Fix grammatical errors in its description.

doc/src/sgml/config.sgml
src/backend/utils/misc/guc.c

index 32205de9a16a2541f2caa5704f35451829f11ec6..e76c1f3fc9b53ae62958255372ee419f99bf1561 100644 (file)
@@ -3406,10 +3406,10 @@ guess what
       </indexterm>
       <listitem>
        <para>
-        Causes actions executed by autovacuum to be logged if it ran for at
-        least the specified number of milliseconds.  Setting this to zero prints
-        all action durations. Minus-one (the default) disables logging
-        autovacuum action durations.  For example, if you set it to
+        Causes each action executed by autovacuum to be logged if it ran for at
+        least the specified number of milliseconds.  Setting this to zero logs
+        all autovacuum actions. Minus-one (the default) disables logging
+        autovacuum actions.  For example, if you set this to
         <literal>250ms</literal> then all vacuums and analyzes that run
         250ms or longer will be logged.  Enabling this parameter can be helpful
         in tracking autovacuum activity.  This setting can only be set in
index 3b9937a17589124ec73e2c14995b902353081eca..06ecb91cca947e7807f02f0ad3e0fa045802090f 100644 (file)
@@ -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 "
                                                 "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
                },
                &Log_autovacuum,