Finish repairing 6.5's problems with r-tree indexes: create appropriate
Tom Lane <tgl@sss.pgh.pa.us>
Finish repairing 6.5's problems with r-tree indexes: create appropriate selectivity functions and make the r-tree operators use them. The estimation functions themselves are just stubs, unfortunately, but perhaps someday someone will make them compute realistic estimates. Change pg_am so that the optimizer can reliably tell the difference between ordered and unordered indexes --- before it would think that an r-tree index can be scanned in '<<' order, which is not right AFAIK. Repair broken negator links for network_sup and related ops. Initdb forced. This might be my last initdb force for 7.0 ... hope so anyway ...
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/catalogs.sgml | modified | +32 −33 |
| doc/src/sgml/xindex.sgml | modified | +15 −5 |
| doc/src/sgml/xoper.sgml | modified | +10 −0 |
| src/backend/optimizer/util/plancat.c | modified | +19 −18 |
| src/backend/utils/adt/geo_selfuncs.c | modified | +53 −45 |
| src/include/catalog/catversion.h | modified | +2 −2 |
| src/include/catalog/pg_am.h | modified | +35 −31 |
| src/include/catalog/pg_operator.h | modified | +39 −39 |
| src/include/catalog/pg_proc.h | modified | +12 −3 |
| src/include/utils/geo_decls.h | modified | +12 −3 |
| src/test/regress/expected/create_index.out | modified | +13 −1 |
| src/test/regress/sql/create_index.sql | modified | +7 −1 |