- Notifications
You must be signed in to change notification settings - Fork5
Commit9d0826c
committed
Don't prematurely free the BufferAccessStrategy in pgstat_heap().
This function continued to use it after heap_endscan() freed it. Inpassing, don't explicit create a strategy here. Instead, use the onecreated by heap_beginscan_strat(), if any. Back-patch to 9.2, where useof a BufferAccessStrategy here was introduced.1 parent6647f59 commit9d0826c
1 file changed
+5
-8
lines changedLines changed: 5 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
274 | 274 |
| |
275 | 275 |
| |
276 | 276 |
| |
277 |
| - | |
278 | 277 |
| |
279 | 278 |
| |
280 | 279 |
| |
| |||
283 | 282 |
| |
284 | 283 |
| |
285 | 284 |
| |
286 |
| - | |
287 |
| - | |
288 |
| - | |
289 |
| - | |
290 | 285 |
| |
291 | 286 |
| |
292 | 287 |
| |
| |||
320 | 315 |
| |
321 | 316 |
| |
322 | 317 |
| |
323 |
| - | |
| 318 | + | |
| 319 | + | |
324 | 320 |
| |
325 | 321 |
| |
326 | 322 |
| |
327 | 323 |
| |
328 | 324 |
| |
329 | 325 |
| |
330 |
| - | |
331 | 326 |
| |
332 | 327 |
| |
333 | 328 |
| |
334 | 329 |
| |
335 | 330 |
| |
336 |
| - | |
| 331 | + | |
| 332 | + | |
337 | 333 |
| |
338 | 334 |
| |
339 | 335 |
| |
340 | 336 |
| |
341 | 337 |
| |
342 | 338 |
| |
| 339 | + | |
343 | 340 |
| |
344 | 341 |
| |
345 | 342 |
| |
|
0 commit comments
Comments
(0)