forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit5a15149
committed
It seems that ExecInit/EndIndexScan is leaking some memory...
For example, if I run a query, that uses an index scan, and callMemoryContextSt ats (CurrentMemoryContext) before ExecutorStart() andafter ExecutorEnd() in ProcessQuery(), I am consistently see ing thatthe 'after' call shows 256 bytes more used, then 'before'...The problem seems to be in ExecEndIndexScan - it does not releasescanstate, ind exstate, indexstate->iss_RelationDescs and indexstate ->iss_ScanDescs...Dmitry Tkach1 parenteb4e4fd commit5a15149
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
516 | 516 | | |
517 | 517 | | |
518 | 518 | | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
519 | 523 | | |
520 | 524 | | |
521 | 525 | | |
| |||
0 commit comments
Comments
(0)