forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitf6d6b7b
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 parent0cf1668 commitf6d6b7b
1 file changed
+5
-8
lines changedLines changed: 5 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
277 | 277 |
| |
278 | 278 |
| |
279 | 279 |
| |
280 |
| - | |
281 | 280 |
| |
282 | 281 |
| |
283 | 282 |
| |
284 | 283 |
| |
285 | 284 |
| |
286 | 285 |
| |
287 |
| - | |
288 |
| - | |
289 |
| - | |
290 |
| - | |
291 | 286 |
| |
292 | 287 |
| |
293 | 288 |
| |
| |||
321 | 316 |
| |
322 | 317 |
| |
323 | 318 |
| |
324 |
| - | |
| 319 | + | |
| 320 | + | |
325 | 321 |
| |
326 | 322 |
| |
327 | 323 |
| |
328 | 324 |
| |
329 | 325 |
| |
330 | 326 |
| |
331 |
| - | |
332 | 327 |
| |
333 | 328 |
| |
334 | 329 |
| |
335 | 330 |
| |
336 | 331 |
| |
337 |
| - | |
| 332 | + | |
| 333 | + | |
338 | 334 |
| |
339 | 335 |
| |
340 | 336 |
| |
341 | 337 |
| |
342 | 338 |
| |
343 | 339 |
| |
| 340 | + | |
344 | 341 |
| |
345 | 342 |
| |
346 | 343 |
| |
|
0 commit comments
Comments
(0)