summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorTom Lane1999-12-30 05:05:13 +0000
committerTom Lane1999-12-30 05:05:13 +0000
commit9c95f8c9b298c1badb4376eabad53b35a8ac4f2b (patch)
tree8bb89eb69751313f9e62458fba1a7dd233749267 /src/include
parent649ffe161653f2e3f181f616de62ccc467d8c879 (diff)
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.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/access/genam.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/access/genam.h b/src/include/access/genam.h
index fb98694b18c..76200f215e2 100644
--- a/src/include/access/genam.h
+++ b/src/include/access/genam.h
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: genam.h,v 1.20 1999/07/16 17:07:25 momjian Exp $
+ * $Id: genam.h,v 1.21 1999/12/30 05:05:13 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -47,5 +47,6 @@ extern Datum GetIndexValue(HeapTuple tuple, TupleDesc hTupDesc,
/* in genam.c */
extern IndexScanDesc RelationGetIndexScan(Relation relation, bool scanFromEnd,
uint16 numberOfKeys, ScanKey key);
+extern void IndexScanEnd(IndexScanDesc scan);
#endif /* GENAM_H */