forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit9269699
committed
> > 8.0beta3 has pg_autovacuum included, when I want to run this as a
> > Windows service, it says you can use the -I and -R options.> >> > When I do that and I specify a password with '-P'> (uppercase) then in> > the registry it's saved as '-p' (lowercase) in the> service-commandline> > (ImagePath).This was fixed in v1.21 of pg_autovacuum.c, That rev is tagged forbeta3, so you should not be seeing this issue unless you actually havean older version for some reason.http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/pg_autovacuum/pg_autovacuum.c.diff?r1=1.20;r2=1.21;f=h> > Also it removes the quotes I added and I'm not so sure it> would work> > the way it's supposed to, without it.It's not so much that it strips them (that happens automagically), morethat it doesn't re-add them when it writes the command line in theregistry. The attached patch fixes that by simply quoting all optionsthat may need it.> > If you add DependOnService (a REG_MULTI_SZ an> array-like-thingie) and> > have the name (in this case: pgsql-8.0-beta2-dev3) of a service it> > depends on, it will not fail to start (it will not even try, as> > PostgreSQL is not running), when PostgreSQL already failed.> >> > Maybe it's an idea to specify it on the commandline (what> service to> > depend on).A -E <service> option is added in the attached patch.Dave Page1 parent12e6782 commit9269699
File tree
3 files changed
+21
-9
lines changed- contrib/pg_autovacuum
3 files changed
+21
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
166 | | - | |
| 166 | + | |
167 | 167 | | |
168 | | - | |
| 168 | + | |
| 169 | + | |
169 | 170 | | |
170 | 171 | | |
171 | 172 | | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
172 | 177 | | |
173 | 178 | | |
174 | 179 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
1100 | 1100 | | |
1101 | 1101 | | |
1102 | 1102 | | |
1103 | | - | |
| 1103 | + | |
1104 | 1104 | | |
1105 | 1105 | | |
1106 | 1106 | | |
| |||
1165 | 1165 | | |
1166 | 1166 | | |
1167 | 1167 | | |
| 1168 | + | |
| 1169 | + | |
| 1170 | + | |
1168 | 1171 | | |
1169 | 1172 | | |
1170 | 1173 | | |
| |||
1216 | 1219 | | |
1217 | 1220 | | |
1218 | 1221 | | |
| 1222 | + | |
1219 | 1223 | | |
1220 | 1224 | | |
1221 | 1225 | | |
| |||
1273 | 1277 | | |
1274 | 1278 | | |
1275 | 1279 | | |
| 1280 | + | |
| 1281 | + | |
1276 | 1282 | | |
1277 | 1283 | | |
1278 | 1284 | | |
| |||
1385 | 1391 | | |
1386 | 1392 | | |
1387 | 1393 | | |
1388 | | - | |
| 1394 | + | |
1389 | 1395 | | |
1390 | 1396 | | |
1391 | 1397 | | |
| |||
1406 | 1412 | | |
1407 | 1413 | | |
1408 | 1414 | | |
1409 | | - | |
| 1415 | + | |
1410 | 1416 | | |
1411 | | - | |
| 1417 | + | |
1412 | 1418 | | |
1413 | | - | |
| 1419 | + | |
1414 | 1420 | | |
1415 | 1421 | | |
1416 | 1422 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
| |||
0 commit comments
Comments
(0)