Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
b7adf47e
Commit
b7adf47e
authored
Sep 10, 2007
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set the correct context (PGC_SIGHUP) for log_autovacuum, per ITAGAKI Takahiro.
Fix grammatical errors in its description.
parent
40fda15d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
doc/src/sgml/config.sgml
doc/src/sgml/config.sgml
+5
-5
src/backend/utils/misc/guc.c
src/backend/utils/misc/guc.c
+3
-3
No files found.
doc/src/sgml/config.sgml
View file @
b7adf47e
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.14
2 2007/09/05 18:10:47
tgl Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.14
3 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
...
@@ -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
print
s
least the specified number of milliseconds. Setting this to zero
log
s
all a
ction dura
tions. Minus-one (the default) disables logging
all a
utovacuum ac
tions. Minus-one (the default) disables logging
autovacuum action
durations. For example, if you set it
to
autovacuum action
s. 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
...
...
src/backend/utils/misc/guc.c
View file @
b7adf47e
...
@@ -10,7 +10,7 @@
...
@@ -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.41
7 2007/09/10 00:57:21
tgl Exp $
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.41
8 2007/09/10 01:39:19
tgl Exp $
*
*
*--------------------------------------------------------------------
*--------------------------------------------------------------------
*/
*/
...
@@ -1573,10 +1573,10 @@ static struct config_int ConfigureNamesInt[] =
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment