diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-11-07 17:36:47 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-11-07 17:36:47 +0000 |
commit | 2a8d3d83efeafe7f5d7ba2e56d165f2cc78a7d56 (patch) | |
tree | cf3bf0349a55d4daf51d454cc8bcac9ec8c80ec5 /src/backend/utils/adt/geo_selfuncs.c | |
parent | 645adf5de8e1f1a829df92a9b80fa0ebbd121942 (diff) | |
download | postgresql-2a8d3d83efeafe7f5d7ba2e56d165f2cc78a7d56.tar.gz postgresql-2a8d3d83efeafe7f5d7ba2e56d165f2cc78a7d56.zip |
R-tree is dead ... long live GiST.
Diffstat (limited to 'src/backend/utils/adt/geo_selfuncs.c')
-rw-r--r-- | src/backend/utils/adt/geo_selfuncs.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/backend/utils/adt/geo_selfuncs.c b/src/backend/utils/adt/geo_selfuncs.c index dddfaa3dbc4..9aa33831379 100644 --- a/src/backend/utils/adt/geo_selfuncs.c +++ b/src/backend/utils/adt/geo_selfuncs.c @@ -9,7 +9,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/utils/adt/geo_selfuncs.c,v 1.24 2004/12/31 22:01:22 pgsql Exp $ + * $PostgreSQL: pgsql/src/backend/utils/adt/geo_selfuncs.c,v 1.25 2005/11/07 17:36:45 tgl Exp $ * * XXX These are totally bogus. Perhaps someone will make them do * something reasonable, someday. @@ -22,19 +22,19 @@ /* - * Selectivity functions for rtrees. These are bogus -- unless we know - * the actual key distribution in the index, we can't make a good prediction - * of the selectivity of these operators. + * Selectivity functions for geometric operators. These are bogus -- unless + * we know the actual key distribution in the index, we can't make a good + * prediction of the selectivity of these operators. * * Note: the values used here may look unreasonably small. Perhaps they * are. For now, we want to make sure that the optimizer will make use - * of an r-tree index if one is available, so the selectivity had better + * of a geometric index if one is available, so the selectivity had better * be fairly small. * - * In general, rtrees need to search multiple subtrees in order to guarantee + * In general, GiST needs to search multiple subtrees in order to guarantee * that all occurrences of the same key have been found. Because of this, * the estimated cost for scanning the index ought to be higher than the - * output selectivity would indicate. rtcostestimate(), over in selfuncs.c, + * output selectivity would indicate. gistcostestimate(), over in selfuncs.c, * ought to be adjusted accordingly --- but until we can generate somewhat * realistic numbers here, it hardly matters... */ |