Repair bugs discussed in pghackers thread of 15 May 1999: creation of a
Tom Lane <tgl@sss.pgh.pa.us>
Repair bugs discussed in pghackers thread of 15 May 1999: creation of a relcache entry no longer leaks a small amount of memory. index_endscan now releases all the memory acquired by index_beginscan, so callers of it should NOT pfree the scan descriptor anymore.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/index/genam.c | modified | +40 −34 |
| src/backend/access/index/indexam.c | modified | +4 −1 |
| src/backend/catalog/indexing.c | modified | +2 −2 |
| src/backend/commands/trigger.c | modified | +0 −2 |
| src/backend/storage/large_object/inv_api.c | modified | +1 −5 |
| src/backend/utils/adt/regproc.c | modified | +1 −2 |
| src/backend/utils/cache/relcache.c | modified | +10 −22 |
| src/include/access/genam.h | modified | +2 −1 |