- Notifications
You must be signed in to change notification settings - Fork5
Commitf8c81c5
committed
In pg_upgrade, try a few times to open a log file.
If we call pg_ctl stop, the server might continue and thushold a log file for a short time after it has deleted its pid file,(which is when pg_ctl will exit), and so a subsequent attempt toopen the log file might fail.We therefore try to open it a few times, sleeping one second betweentries, to give the server time to exit.This corrects an error that was observed on the buildfarm.Backpatched to 9.2,1 parent4c60b80 commitf8c81c5
1 file changed
+22
-1
lines changedLines changed: 22 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
63 | 63 |
| |
64 | 64 |
| |
65 | 65 |
| |
66 |
| - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
67 | 88 |
| |
68 | 89 |
| |
69 | 90 |
| |
|
0 commit comments
Comments
(0)