forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit2aca19f
committed
Use WaitLatch() instead of pg_usleep() at the end of backups
This concerns pg_stop_backup() and BASE_BACKUP, when waiting for theWAL segments required for a backup to be archived. This simplifies abit the handling of the wait event used in this code path.Author: Bharath RupireddyReviewed-by: Michael Paquier, Stephen FrostDiscussion:https://postgr.es/m/CALj2ACU4AdPCq6NLfcA-ZGwX7pPCK5FgEj-CAU0xCKzkASSy_A@mail.gmail.com1 parent9753324 commit2aca19f
1 file changed
+5
-3
lines changedLines changed: 5 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11638 | 11638 |
| |
11639 | 11639 |
| |
11640 | 11640 |
| |
11641 |
| - | |
11642 |
| - | |
11643 |
| - | |
| 11641 | + | |
| 11642 | + | |
| 11643 | + | |
| 11644 | + | |
| 11645 | + | |
11644 | 11646 |
| |
11645 | 11647 |
| |
11646 | 11648 |
| |
|
0 commit comments
Comments
(0)