forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitfd5942c
committed
Use the regular main processing loop also in walsenders.
The regular backend's main loop handles signal handling and error recoverybetter than the current WAL sender command loop does. For example, if theclient hangs and a SIGTERM is received before starting streaming, thewalsender will now terminate immediately, rather than hang until theconnection times out.1 parent1997f34 commitfd5942c
File tree
4 files changed
+109
-232
lines changed- src
- backend
- replication
- tcop
- include/replication
4 files changed
+109
-232
lines changedLines changed: 2 additions & 14 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
| 25 | + | |
25 | 26 |
| |
26 | 27 |
| |
27 | 28 |
| |
| |||
30 | 31 |
| |
31 | 32 |
| |
32 | 33 |
| |
33 |
| - | |
34 | 34 |
| |
35 | 35 |
| |
36 | 36 |
| |
| |||
370 | 370 |
| |
371 | 371 |
| |
372 | 372 |
| |
373 |
| - | |
374 |
| - | |
375 | 373 |
| |
376 | 374 |
| |
377 | 375 |
| |
378 | 376 |
| |
379 |
| - | |
380 |
| - | |
381 |
| - | |
382 |
| - | |
383 |
| - | |
384 |
| - | |
385 |
| - | |
386 | 377 |
| |
387 | 378 |
| |
388 | 379 |
| |
| |||
403 | 394 |
| |
404 | 395 |
| |
405 | 396 |
| |
406 |
| - | |
407 |
| - | |
408 |
| - | |
409 | 397 |
| |
410 | 398 |
| |
411 | 399 |
| |
| |||
606 | 594 |
| |
607 | 595 |
| |
608 | 596 |
| |
609 |
| - | |
| 597 | + | |
610 | 598 |
| |
611 | 599 |
| |
612 | 600 |
| |
|
0 commit comments
Comments
(0)