diff options
Diffstat (limited to 'src/backend/access/index/indexam.c')
-rw-r--r-- | src/backend/access/index/indexam.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/backend/access/index/indexam.c b/src/backend/access/index/indexam.c index d045bafc1c8..2f0c6aac529 100644 --- a/src/backend/access/index/indexam.c +++ b/src/backend/access/index/indexam.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/access/index/indexam.c,v 1.64 2003/02/22 00:45:03 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/access/index/indexam.c,v 1.65 2003/03/23 23:01:03 tgl Exp $ * * INTERFACE ROUTINES * index_open - open an index relation by relation OID @@ -294,8 +294,12 @@ index_beginscan(Relation heapRelation, * index_rescan - (re)start a scan of an index * * The caller may specify a new set of scankeys (but the number of keys - * cannot change). Note that this is also called when first starting - * an indexscan; see RelationGetIndexScan. + * cannot change). To restart the scan without changing keys, pass NULL + * for the key array. + * + * Note that this is also called when first starting an indexscan; + * see RelationGetIndexScan. Keys *must* be passed in that case, + * unless scan->numberOfKeys is zero. * ---------------- */ void |