forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit3a352df
committed
Use streaming I/O in pg_prewarm.
Instead of calling ReadBuffer() repeatedly, use the new streaminginterface. This commit provides a very simple example of such atransformation.Discussion:https://postgr.es/m/CA+hUKGJkOiOCa+mag4BF+zHo7qo=o9CFheB8=g6uT5TUm2gkvA@mail.gmail.com1 parentb5a9b18 commit3a352df
1 file changed
+39
-1
lines changedLines changed: 39 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
| 22 | + | |
22 | 23 |
| |
23 | 24 |
| |
24 | 25 |
| |
| |||
38 | 39 |
| |
39 | 40 |
| |
40 | 41 |
| |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
41 | 61 |
| |
42 | 62 |
| |
43 | 63 |
| |
| |||
183 | 203 |
| |
184 | 204 |
| |
185 | 205 |
| |
| 206 | + | |
| 207 | + | |
| 208 | + | |
186 | 209 |
| |
187 | 210 |
| |
188 | 211 |
| |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
189 | 225 |
| |
190 | 226 |
| |
191 | 227 |
| |
192 | 228 |
| |
193 | 229 |
| |
194 |
| - | |
| 230 | + | |
195 | 231 |
| |
196 | 232 |
| |
197 | 233 |
| |
| 234 | + | |
| 235 | + | |
198 | 236 |
| |
199 | 237 |
| |
200 | 238 |
| |
|
0 commit comments
Comments
(0)