Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
c87ddbaf
Commit
c87ddbaf
authored
20 years ago
by
Tom Lane
Browse files
Options
Downloads
Patches
Plain Diff
Rename vacuum_cost_limit switch from -N to -l to avoid conflict with
existing Windows-only switch.
parent
1c1f2f5b
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
contrib/pg_autovacuum/README.pg_autovacuum
+1
-1
1 addition, 1 deletion
contrib/pg_autovacuum/README.pg_autovacuum
contrib/pg_autovacuum/pg_autovacuum.c
+5
-5
5 additions, 5 deletions
contrib/pg_autovacuum/pg_autovacuum.c
with
6 additions
and
6 deletions
contrib/pg_autovacuum/README.pg_autovacuum
+
1
−
1
View file @
c87ddbaf
...
@@ -141,7 +141,7 @@ will be used.
...
@@ -141,7 +141,7 @@ will be used.
-C vacuum_cost_page_hit
-C vacuum_cost_page_hit
-m vacuum_cost_page_miss
-m vacuum_cost_page_miss
-n vacuum_cost_page_dirty
-n vacuum_cost_page_dirty
-
N
vacuum_cost_limit
-
l
vacuum_cost_limit
Numerous arguments have default values defined in pg_autovacuum.h. At
Numerous arguments have default values defined in pg_autovacuum.h. At
...
...
This diff is collapsed.
Click to expand it.
contrib/pg_autovacuum/pg_autovacuum.c
+
5
−
5
View file @
c87ddbaf
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
* Revisions by Christopher B. Browne, Liberty RMS
* Revisions by Christopher B. Browne, Liberty RMS
* Win32 Service code added by Dave Page
* Win32 Service code added by Dave Page
*
*
* $PostgreSQL: pgsql/contrib/pg_autovacuum/pg_autovacuum.c,v 1.2
4
2004/11/17
16:54:15
tgl Exp $
* $PostgreSQL: pgsql/contrib/pg_autovacuum/pg_autovacuum.c,v 1.2
5
2004/11/17
21:30:36
tgl Exp $
*/
*/
#include
"postgres_fe.h"
#include
"postgres_fe.h"
...
@@ -1098,9 +1098,9 @@ get_cmd_args(int argc, char *argv[])
...
@@ -1098,9 +1098,9 @@ get_cmd_args(int argc, char *argv[])
* values etc
* values etc
*/
*/
#ifndef WIN32
#ifndef WIN32
while
((
c
=
getopt
(
argc
,
argv
,
"s:S:v:V:a:A:d:U:P:H:L:p:hD:c:C:m:n:
N
:"
))
!=
-
1
)
while
((
c
=
getopt
(
argc
,
argv
,
"s:S:v:V:a:A:d:U:P:H:L:p:hD:c:C:m:n:
l
:"
))
!=
-
1
)
#else
#else
while
((
c
=
getopt
(
argc
,
argv
,
"s:S:v:V:a:A:d:U:P:H:L:p:hIRN:W:c:C:m:n:
N
:"
))
!=
-
1
)
while
((
c
=
getopt
(
argc
,
argv
,
"s:S:v:V:a:A:d:U:P:H:L:p:hIRN:W:c:C:m:n:
l
:"
))
!=
-
1
)
#endif
#endif
{
{
switch
(
c
)
switch
(
c
)
...
@@ -1135,7 +1135,7 @@ get_cmd_args(int argc, char *argv[])
...
@@ -1135,7 +1135,7 @@ get_cmd_args(int argc, char *argv[])
case
'n'
:
case
'n'
:
args
->
av_vacuum_cost_page_dirty
=
atoi
(
optarg
);
args
->
av_vacuum_cost_page_dirty
=
atoi
(
optarg
);
break
;
break
;
case
'
N
'
:
case
'
l
'
:
args
->
av_vacuum_cost_limit
=
atoi
(
optarg
);
args
->
av_vacuum_cost_limit
=
atoi
(
optarg
);
break
;
break
;
#ifndef WIN32
#ifndef WIN32
...
@@ -1240,7 +1240,7 @@ usage(void)
...
@@ -1240,7 +1240,7 @@ usage(void)
fprintf
(
stderr
,
" [-C] vacuum_cost_page_hit (default=none)
\n
"
);
fprintf
(
stderr
,
" [-C] vacuum_cost_page_hit (default=none)
\n
"
);
fprintf
(
stderr
,
" [-m] vacuum_cost_page_miss (default=none)
\n
"
);
fprintf
(
stderr
,
" [-m] vacuum_cost_page_miss (default=none)
\n
"
);
fprintf
(
stderr
,
" [-n] vacuum_cost_page_dirty (default=none)
\n
"
);
fprintf
(
stderr
,
" [-n] vacuum_cost_page_dirty (default=none)
\n
"
);
fprintf
(
stderr
,
" [-
N
] vacuum_cost_limit (default=none)
\n
"
);
fprintf
(
stderr
,
" [-
l
] vacuum_cost_limit (default=none)
\n
"
);
fprintf
(
stderr
,
" [-U] username (libpq default)
\n
"
);
fprintf
(
stderr
,
" [-U] username (libpq default)
\n
"
);
fprintf
(
stderr
,
" [-P] password (libpq default)
\n
"
);
fprintf
(
stderr
,
" [-P] password (libpq default)
\n
"
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment