summaryrefslogtreecommitdiff
path: root/src/include/utils/rel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/utils/rel.h')
-rw-r--r--src/include/utils/rel.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/include/utils/rel.h b/src/include/utils/rel.h
index f25f769af2b..87002049538 100644
--- a/src/include/utils/rel.h
+++ b/src/include/utils/rel.h
@@ -221,12 +221,10 @@ typedef struct RelationData
* rd_amcache is available for index and table AMs to cache private data
* about the relation. This must be just a cache since it may get reset
* at any time (in particular, it will get reset by a relcache inval
- * message for the relation). If used for table AM it must point to a
- * single memory chunk palloc'd in CacheMemoryContext, or more complex
- * data structure in that memory context to be freed by free_rd_amcache
- * method. If used for index AM it must point to a single memory chunk
- * palloc'd in rd_indexcxt memory context. A relcache reset will include
- * freeing that chunk and setting rd_amcache = NULL.
+ * message for the relation). If used, it must point to a single memory
+ * chunk palloc'd in CacheMemoryContext, or in rd_indexcxt for an index
+ * relation. A relcache reset will include freeing that chunk and setting
+ * rd_amcache = NULL.
*/
void *rd_amcache; /* available for use by index/table AM */