Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b7adf47

Browse filesBrowse files
committed
Set the correct context (PGC_SIGHUP) for log_autovacuum, per ITAGAKI Takahiro.
Fix grammatical errors in its description.
1 parent 40fda15 commit b7adf47
Copy full SHA for b7adf47

File tree

Expand file treeCollapse file tree

2 files changed

+8
-8
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

2 files changed

+8
-8
lines changed
Open diff view settings
Collapse file

‎doc/src/sgml/config.sgml‎

Copy file name to clipboardExpand all lines: doc/src/sgml/config.sgml
+5-5Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.142 2007/09/05 18:10:47 tgl Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.143 2007/09/10 01:39:19 tgl Exp $ -->
22

33
<chapter Id="runtime-config">
44
<title>Server Configuration</title>
@@ -3406,10 +3406,10 @@ guess what
34063406
</indexterm>
34073407
<listitem>
34083408
<para>
3409-
Causes actions executed by autovacuum to be logged if it ran for at
3410-
least the specified number of milliseconds. Setting this to zero prints
3411-
all action durations. Minus-one (the default) disables logging
3412-
autovacuum action durations. For example, if you set it to
3409+
Causes each action executed by autovacuum to be logged if it ran for at
3410+
least the specified number of milliseconds. Setting this to zero logs
3411+
all autovacuum actions. Minus-one (the default) disables logging
3412+
autovacuum actions. For example, if you set this to
34133413
<literal>250ms</literal> then all vacuums and analyzes that run
34143414
250ms or longer will be logged. Enabling this parameter can be helpful
34153415
in tracking autovacuum activity. This setting can only be set in
Collapse file

‎src/backend/utils/misc/guc.c‎

Copy file name to clipboardExpand all lines: src/backend/utils/misc/guc.c
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Written by Peter Eisentraut <peter_e@gmx.net>.
1111
*
1212
* IDENTIFICATION
13-
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.417 2007/09/10 00:57:21 tgl Exp $
13+
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.418 2007/09/10 01:39:19 tgl Exp $
1414
*
1515
*--------------------------------------------------------------------
1616
*/
@@ -1573,10 +1573,10 @@ static struct config_int ConfigureNamesInt[] =
15731573
},
15741574

15751575
{
1576-
{"log_autovacuum", PGC_BACKEND, LOGGING_WHAT,
1576+
{"log_autovacuum", PGC_SIGHUP, LOGGING_WHAT,
15771577
gettext_noop("Sets the minimum execution time above which autovacuum actions "
15781578
"will be logged."),
1579-
gettext_noop("Zero prints all actions. The default is -1 (turning this feature off)."),
1579+
gettext_noop("Zero prints all actions. The default is -1 (disabling autovacuum logging)."),
15801580
GUC_UNIT_MS
15811581
},
15821582
&Log_autovacuum,

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.