forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit70a6c37

Amit Kapila
Fix memory leak introduced in commit7df159a.
We memorize all internal and empty leaf pages in the 1st vacuum stage forgist indexes. They are used in the 2nd stage, to delete all the emptypages. There was a memory context page_set_context for this purpose, butwe never used it.Reported-by: Amit KapilaAuthor: Dilip KumarReviewed-by: Amit KapilaBackpatch-through: 12, where it got introducedDiscussion:https://postgr.es/m/CAA4eK1LGr+MN0xHZpJ2dfS8QNQ1a_aROKowZB+MPNep8FVtwAA@mail.gmail.com1 parentba19a6b commit70a6c37
1 file changed
+10
-0
lines changedLines changed: 10 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
169 | 169 |
| |
170 | 170 |
| |
171 | 171 |
| |
| 172 | + | |
172 | 173 |
| |
173 | 174 |
| |
174 | 175 |
| |
| |||
179 | 180 |
| |
180 | 181 |
| |
181 | 182 |
| |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
182 | 191 |
| |
183 | 192 |
| |
| 193 | + | |
184 | 194 |
| |
185 | 195 |
| |
186 | 196 |
| |
|
0 commit comments
Comments
(0)