Commit 4492ab5
committed
Accept pg_ctl timeout from the PGCTLTIMEOUT environment variable.
Many automated test suites call pg_ctl. Buildfarm members axolotl,
hornet, mandrill, shearwater, sungazer and tern have failed when server
shutdown took longer than the pg_ctl default 60s timeout. This addition
permits slow hosts to easily raise the timeout without us editing a
--timeout argument into every test suite pg_ctl call. Back-patch to 9.1
(all supported versions) for the sake of automated testing.
Reviewed by Tom Lane.1 parent 19e4694 commit 4492ab5
2 files changed
+23
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
361 | 361 | | |
362 | 362 | | |
363 | 363 | | |
364 | | - | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
365 | 367 | | |
366 | 368 | | |
367 | 369 | | |
| |||
469 | 471 | | |
470 | 472 | | |
471 | 473 | | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
472 | 485 | | |
473 | 486 | | |
474 | 487 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| 82 | + | |
82 | 83 | | |
83 | 84 | | |
84 | 85 | | |
| |||
1456 | 1457 | | |
1457 | 1458 | | |
1458 | 1459 | | |
1459 | | - | |
| 1460 | + | |
| 1461 | + | |
1460 | 1462 | | |
1461 | 1463 | | |
1462 | 1464 | | |
| |||
2291 | 2293 | | |
2292 | 2294 | | |
2293 | 2295 | | |
| 2296 | + | |
2294 | 2297 | | |
2295 | 2298 | | |
2296 | 2299 | | |
| |||
2341 | 2344 | | |
2342 | 2345 | | |
2343 | 2346 | | |
| 2347 | + | |
| 2348 | + | |
| 2349 | + | |
| 2350 | + | |
2344 | 2351 | | |
2345 | 2352 | | |
2346 | 2353 | | |
| |||
2406 | 2413 | | |
2407 | 2414 | | |
2408 | 2415 | | |
| 2416 | + | |
2409 | 2417 | | |
2410 | 2418 | | |
2411 | 2419 | | |
| |||
0 commit comments