|
4 | 4 | * Revisions by Christopher B. Browne, Liberty RMS
|
5 | 5 | * Win32 Service code added by Dave Page
|
6 | 6 | *
|
7 |
| - * $PostgreSQL: pgsql/contrib/pg_autovacuum/pg_autovacuum.c,v 1.24 2004/11/17 16:54:15 tgl Exp $ |
| 7 | + * $PostgreSQL: pgsql/contrib/pg_autovacuum/pg_autovacuum.c,v 1.25 2004/11/17 21:30:36 tgl Exp $ |
8 | 8 | */
|
9 | 9 |
|
10 | 10 | #include "postgres_fe.h"
|
@@ -1098,9 +1098,9 @@ get_cmd_args(int argc, char *argv[])
|
1098 | 1098 | * values etc
|
1099 | 1099 | */
|
1100 | 1100 | #ifndef WIN32
|
1101 |
| - while ((c = getopt(argc, argv, "s:S:v:V:a:A:d:U:P:H:L:p:hD:c:C:m:n:N:")) != -1) |
| 1101 | + while ((c = getopt(argc, argv, "s:S:v:V:a:A:d:U:P:H:L:p:hD:c:C:m:n:l:")) != -1) |
1102 | 1102 | #else
|
1103 |
| - 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) |
| 1103 | + 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) |
1104 | 1104 | #endif
|
1105 | 1105 | {
|
1106 | 1106 | switch (c)
|
@@ -1135,7 +1135,7 @@ get_cmd_args(int argc, char *argv[])
|
1135 | 1135 | case 'n':
|
1136 | 1136 | args->av_vacuum_cost_page_dirty = atoi(optarg);
|
1137 | 1137 | break;
|
1138 |
| - case 'N': |
| 1138 | + case 'l': |
1139 | 1139 | args->av_vacuum_cost_limit = atoi(optarg);
|
1140 | 1140 | break;
|
1141 | 1141 | #ifndef WIN32
|
@@ -1240,7 +1240,7 @@ usage(void)
|
1240 | 1240 | fprintf(stderr, " [-C] vacuum_cost_page_hit (default=none)\n");
|
1241 | 1241 | fprintf(stderr, " [-m] vacuum_cost_page_miss (default=none)\n");
|
1242 | 1242 | fprintf(stderr, " [-n] vacuum_cost_page_dirty (default=none)\n");
|
1243 |
| - fprintf(stderr, " [-N] vacuum_cost_limit (default=none)\n"); |
| 1243 | + fprintf(stderr, " [-l] vacuum_cost_limit (default=none)\n"); |
1244 | 1244 |
|
1245 | 1245 | fprintf(stderr, " [-U] username (libpq default)\n");
|
1246 | 1246 | fprintf(stderr, " [-P] password (libpq default)\n");
|
|
0 commit comments