forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit28644fa
committed
Don't leak rd_statlist when a relcache entry is dropped.
Although these lists are usually NIL, and even when not emptyare unlikely to be large, constant relcache update traffic couldeventually result in visible bloat of CacheMemoryContext.Found via valgrind testing.Back-patch to v10 where this field was added.Discussion:https://postgr.es/m/3816764.1616104288@sss.pgh.pa.us1 parenta16b2b9 commit28644fa
1 file changed
+1
-0
lines changedLines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2392 | 2392 |
| |
2393 | 2393 |
| |
2394 | 2394 |
| |
| 2395 | + | |
2395 | 2396 |
| |
2396 | 2397 |
| |
2397 | 2398 |
| |
|
0 commit comments
Comments
(0)