OSDN Git Service

Update comment to match later code changes.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 4 Dec 2010 08:21:49 +0000 (03:21 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 4 Dec 2010 08:21:49 +0000 (03:21 -0500)
src/include/access/gist_private.h

index 1a0e1ea..058435c 100644 (file)
@@ -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)];