forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitf188972
committed
Add new parallel message type to progress reporting.
This commit adds a new type of parallel message 'P' to allow aparallel worker to poke at a leader to update the progress.Currently it supports only incremental progress reporting but it'spossible to allow for supporting of other backend progress APIs in thefuture.There are no users of this new message type as of this commit. Thatwill follow in future commits.Idea from Andres Freund.Author: Sami ImseihReviewed by: Michael Paquier, Masahiko SawadaDiscussion:https://www.postgresql.org/message-id/flat/5478DFCD-2333-401A-B2F0-0D186AB09228@amazon.com1 parent26dd028 commitf188972
File tree
3 files changed
+51
-0
lines changed- src
- backend
- access/transam
- utils/activity
- include/utils
3 files changed
+51
-0
lines changedLines changed: 18 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
| 27 | + | |
27 | 28 |
| |
28 | 29 |
| |
29 | 30 |
| |
| |||
1199 | 1200 |
| |
1200 | 1201 |
| |
1201 | 1202 |
| |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
| 1208 | + | |
| 1209 | + | |
| 1210 | + | |
| 1211 | + | |
| 1212 | + | |
| 1213 | + | |
| 1214 | + | |
| 1215 | + | |
| 1216 | + | |
| 1217 | + | |
| 1218 | + | |
| 1219 | + | |
1202 | 1220 |
| |
1203 | 1221 |
| |
1204 | 1222 |
| |
|
Lines changed: 32 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
| 13 | + | |
| 14 | + | |
13 | 15 |
| |
14 | 16 |
| |
15 | 17 |
| |
| |||
79 | 81 |
| |
80 | 82 |
| |
81 | 83 |
| |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
82 | 114 |
| |
83 | 115 |
| |
84 | 116 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
37 | 37 |
| |
38 | 38 |
| |
39 | 39 |
| |
| 40 | + | |
40 | 41 |
| |
41 | 42 |
| |
42 | 43 |
| |
|
0 commit comments
Comments
(0)