From e194a942f98caf0b278e3ba30a85545ac790ea1d Mon Sep 17 00:00:00 2001
From: Tom Lane <tgl@sss.pgh.pa.us>
Date: Sat, 4 Dec 2010 03:21:49 -0500
Subject: [PATCH] Update comment to match later code changes.

---
 src/include/access/gist_private.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/include/access/gist_private.h b/src/include/access/gist_private.h
index 1a0e1ea72ed..058435cfe56 100644
--- a/src/include/access/gist_private.h
+++ b/src/include/access/gist_private.h
@@ -118,7 +118,7 @@ typedef struct GISTScanOpaqueData
 
 	/* pre-allocated workspace arrays */
 	GISTSearchTreeItem *tmpTreeItem;	/* workspace to pass to rb_insert */
-	double	   *distances;		/* workspace for computeKeyTupleDistance */
+	double	   *distances;		/* output area for gistindex_keytest */
 
 	/* In a non-ordered search, returnable heap items are stored here: */
 	GISTSearchHeapItem pageData[BLCKSZ / sizeof(IndexTupleData)];
-- 
GitLab